Support » Fixing WordPress » Keep Domain Alias in Address Bar

  • Resolved jphogan


    I have a question about domain aliases. I have a site at When it’s ready to go live, I want to make the main domain,, an alias of That works fine, but when I click on any pages on the site, it goes back to the subdomain structure.

    For example, if I click on the contact page, I want the url in the address bar to read and NOT

    Help is appreciated. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You don’t need to do all that – when the site is ready to go, just discuss with your host how to point to the folder in your hosting account (where new site is) and then work with the site and home url’s.

    Moving WordPress

    Thanks! I’ll speak with my host tomorrow. So once I’ve done that, any link they click on the site will be Even though they’re listed as absolute links? Thanks again

    Read the Moving WordPress in full…and discuss with host…the host resolves the domain to a folder in your host setup…you just make sure wp has the right settings…

    And folder in host setup does not mean – it means a folder on their server in your account.

    Thanks again for your help! I’ve got it all working now.

    I had already set up as an alias with my host to, but because of the absolute url paths in WordPress, if you clicked on a link, it would go back to rather than

    I used the tool here (which I’ve used a ton of times when moving a site from development to the domain) to find and replace all instances of with It now works perfectly and does exactly what I want.

    I see – so what you meant was the site was live and some links did not work – ok- thanks for clarifying…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Keep Domain Alias in Address Bar’ is closed to new replies.