I've seen many questions and answers regarding this subject, yet I can't seem to get this to work.

Here is my setup.

I have my main domain:


On that domain, I've installed WP multisite as a subdomain. The root of the network sits at:


I have multiple wordpress sites setup under that subdomain, all under the format of:


Now, if I register some new domains for the purpose of pointing them to these individual wordpress sites, how would I edit my .htaccess files to achieve something like the following:

User navigates to:


and gets redirected to:


all while still seeing www.New-Domain.com in the address bar.

I've managed to setup a mask where www.New-Domain.com is always displayed in the address bar, but I would like to have the structure of the site follow the domain, as the user navigates through the site.

For example,


would become


Is this at all possible?

  • I don't think you can accomplish that with .htaccess redirects. In my experience, when a browser hits a .htaccess redirection, it simply goes to the new URL. What you're trying to do sounds like something you'd need to do in PHP -- possibly using WordPress's Rewrite API. (Or maybe a domain mapping plugin like this one.) – Pat J Jun 18 '13 at 16:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.