Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

We have an install of WordPress Network (Multisite) that has multiple blogs running under the url where each subsite is /site2 etc...

We have a user that already has a URL ( and would like to keep his URL but also use our install of WordPress. Can this be done with any settings in WordPress, any plugins, or something else on the server?

For clarification, he doesn't want his URL to just redirect to the blogs. URL but instead maintain his URL while being served from the WordPress instance.

share|improve this question

2 Answers 2

This is straightforward if I understand the question properly. Use the "WordPress MU Domain Mapping" plugin:


I think something like the following should work in your .htaccess:

RewriteCond %{HTTP_HOST}
RewriteCond %{REQUEST_URI} !^/testsite
RewriteRule ^(.*)$ testsite/$1 [L]

This will return the contents of the folder "testsite" for "". And if you have:

then I think it would return the contents of:


So I am guessing if you but Wordpress in that folder it should work. You might also need to map to using the domain mapping plugin.

share|improve this answer
I can see how that would work for something like but will it also work for ? – Jason Dec 6 '11 at 14:00
No, I guess not. You should be able to achieve this using mod_rewrite though. I'll have a think about it. – ZweiBlumen Dec 7 '11 at 8:18
I've updated my answer with some mod_rewrite info. Note sure if it helps, but worth giving it a go. – ZweiBlumen Dec 7 '11 at 16:07

Just use the domain mapping plugin. It odes what you want and yes it works on subfolder sites.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.