Chris
Veteran
Just Getting Started
Member Likes (0)
Hi,
I have a multisite configured as a subdirectory install with domain-mapping and multi-domains both installed and activated. No issues with this.
I have a number of sub-sites mapped:
multisite.com
mulitsite.com/sub-site-one <--- domainone.com
mulitsite.com/sub-site-two <--- domaintwo.com
mulitsite.com/sub-site-three
That's all fine and dandy.
How do I set-up the following?
domainthree.com ----> hosted under one directory
domainthree.com/mapthisplease ----> mulitsite.com/sub-site-three
So the above would become:
multisite.com
mulitsite.com/sub-site-one <--- domainone.com
mulitsite.com/sub-site-two <--- domaintwo.com
mulitsite.com/sub-site-three <--- domainthree.com/mapthisplease
Help appreciated on this one please.

Responses (6)
Sales & Support Pro (joined March 2010) Likes (0)
Hey Chris!
Well, that's quite an interesting request.
Out of the box, I don't think either plugins will allow you to do that, but that doesn't surprise me to be honest.
What you're asking may not be possible without some heavy custom dev work. It may just be too confusing to handle.
That said, I bet it's not impossible! I'm gonna ask Aaron to take a look at your request and see what he says though ;)
Thanks for your patience!
Phil
Member (joined October 2010) Likes (0)
To clarify the above:
domainthree.com ----> hosted under one directory
This is hosted in an entirely different directory unrelated to the wordpress installation. So domainthree.com and multisite.com have entirely different root folder locations.
I'd appreciate any insight and input...
One approach is a simple htaccess redirect from domainthree.com/inside to the sub-site but this doesn't disguise the url i.e. it shows: multisite/sub-site-three rather than what i want domainthree/inside
Thoughts....
Lead Developer (joined May 2009) Likes (0)
Not sure I exactly understand, but you can't map just any url to a blog. It has to be a root domain. So you could map domainthree.com or mapthisplease.domainthree.com to mulitsite.com/sub-site-three
Lead Developer (joined May 2009) Likes (0)
So maybe you could put a 301 redirect in htaccess from domainthree.com/mapthisplease to mapthisplease.domainthree.com, which would maintain your domainthree.com identity without disrupting whatever is hosted on domainthree.com.
Member (joined October 2010) Likes (0)
Using an htaccess redirect in teh domiantheree.com htaccess file as follows
redirect 301 /mapthisplease http://mulitsite.com/sub-site-three
will redirect BUT.... the url is shown to user in the browser...
So one approach could be to put a specific rewrite rule in the htaccess file for multisite.com to handle the rewrite of domainthree.com/pleasemapthis, in which case you're sort of bypassing any domain-mapping or multi-domain functionality, aren't you?
I did wonder if the multi-domain would handle this in combination with the domain-mapping.
Thoughts... ?
Lead Developer (joined May 2009) Likes (0)
No, the only way is the subdomain option I recommended.
Become a member