Support » How-To and Troubleshooting » [Resolved] Hiding the page's URL for an add-on domain

[Resolved] Hiding the page's URL for an add-on domain

  • I have a WordPress site that’s set up as an add-on domain to my main site. It has its own URL and when you visit the WordPress home page it displays that URL accurately, like “wp_site.com”. Visiting any pages within the WordPress site however shows my main site, then the WordPress site in the URL: “www.mainsite.com/wp_site.com/contact” for example. Then if I use the “go to previous page” arrow even the WordPress homepage shows “www.mainsite.com/wp_site.com”. The main site is supposed to be anonymous.

    I tried resetting the site address, directing it specifically to the add-on domain address and it came up as “not found” and crashed, requiring me to reinstall WordPress.

    Is there a way to either substitute the URL that displays, or simply not show one?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Is it cPanel’s “add-on domain” ?

    Kindly understand WordPress itself has nothing to do with it. Its a wrong set up.

    You can try to redirect www.mainsite.com/wp_site.com/ to wp_site.com on www.mainsite.com ‘s .htaccess treating it like a subfolder.

    Resources :



    It is, in fact, a cpanel add-on domain. I’ll try what you suggest, but I’ll want to back it up first. The last time I messed with it I lost everything and had to start over.

    Thank you for your help.


    Apparently I had set up WordPress to find the subfolder rather than the intended add-on domain.

    The problem with these computers is that they always do EXACTLY what we tell them.

    Thanks for your guidance. It certainly pointed me in the right direction.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Hiding the page's URL for an add-on domain’ is closed to new replies.
Skip to toolbar