Only show domain name in URL

I was wondering if there was a setting that allows one to only display “www.example.com” in the browser’s address bar, regardless of the page the visitor is on.

I tried changing the
define(‘WP_HOME’,‘https://www.example.com’);
define(‘WP_SITEURL’,XXX);
in wp-config.php, and the ‘general’ settings in the wp-admin, but neither have the desired effect.

Can this be done ? :slight_smile:

Hello,

It’s not a theme issue, and I don’t think that there is an easy way to do it, unfortunately.

Kind Regards, Roman.
aThemes Support