daniel.martin.alonso
Expert
Friendly Neighbour
Member Likes (0)
Hi everybody,
I'm using Doncha's domain mapping plugin and, after installing WPMUDEV's sitemap's plugin I wanted to give a try to your domain mapping plugin.
I've installed it, replace Doncha's one, and everything's working fine...but all the URLs are resolving to non-www version. That is, in Doncha's plugin you had the ability to map 2 URLs to a given domain (that is, http://www.mydomain.com and my domain.com), and then choose your default url (in my case, the ones with www).
But now, if I type http://www.mydomain.com/ the URL is rewritten to http://mydomain.com/
I've deleted the previous mapping and set it to "www.mydomain.com", but it's not working.
Any ideas?
Thanks in advance.
Responses (4)
WPMU DEV Fanatic (joined October 2009) Likes (0)
Hiya,
I don't recall the MU Domain Mapping plugin working any differently in that regard. From what I remember, it doesn't allow for www variants. Are you able to successfully use both www and non-www urls at the same time with it?
As for allowing more than one domain name per sub-site in the Domain Mapping plugin here, the instructions mention the following:
And you should be able to add that uncommented line to your wp-config.php file as well, so that plugin updates wouldn't overwrite your changes. That would let you specify more than one domain name.
However, that would not allow entering a 'www' variant. For the most part, 'www' isn't recognized any differently than non-www urls and generally, non-www urls are the way to go. That's very much the case with WordPress Multisite, which definitely prefers non-www, at least with the main site. It takes quite a bit to have it work otherwise.
-David
Member (joined October 2011) Likes (0)
Hi David,
In fact, I'm not looking for having both www and non-www working at the same time. What I really need, and that can be accomplished with Doncha's plugin, is to have the www version as the preferred version for my sub sites.
This way, if someone writes http://mydomain.com it's automatically redirected to http://www.mydomain.com. Is it possible with this plugin?
Regards.
Support Chimp (joined March 2010) Likes (0)
Hey Daniel.
Nope unfortunately that is not currently available with our plugin. I believe it is being considered for a future version.
Take care.
Member (joined October 2011) Likes (0)
Thanks Tim.
Please, consider it for future versions of the plugin.
Regards.
WordPress Questions?
We've got answers!
Find out more »