Take the 2-minute tour ×
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 blogs.exampleurl.com where each subsite is blogs.exampleurl.com/site1 /site2 etc...

We have a user that already has a URL (www.exampleurl.com/usersite/) 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

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

share|improve this answer

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

http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

Update

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

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

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

www.exampleurl.com/myoldsite/

then I think it would return the contents of:

/testsite/myoldsite/

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

share|improve this answer
    
I can see how that would work for something like www.usersite.example.com but will it also work for www.example.com/usersite/ ? –  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

Your Answer

 
discard

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.