12 pointsStarting to get into this DEV thingI'm new here
sub001
Member
—
23rd December 2010 (1 year ago)
I have successfully installed the domain mapping plugin and also mapped my domain. However, I would like to use the http://www.mappeddomain.tld version, instead of the default mappeddomain.com as my original site was using the "www" in front.
Is there a way to enable it? If so, where/how? Thank you!
Edit: if it's of any significance, I'm using sub-directories, not sub-domains, for my multisite (WP 3.0.3).
I have successfully installed the domain mapping plugin and also mapped my domain. However, I would like to use the http://www.mappeddomain.tld version, instead of the default mappeddomain.com as my original site was using the "www" in front.
Is there a way to enable it? If so, where/how? Thank you!
Edit: if it's of any significance, I'm using sub-directories, not sub-domains, for my multisite (WP 3.0.3).
Just so you know since the search is broken, each thread here is tagged with the name of the plugin being discussed. If you visit the plugin home page, in this case:
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
24th December 2010 (1 year ago)
#
Not a problem. There's also a forum issue sticky at the moment if you want to give it a scan.
Searching for this isn;t fun as there are hundreds of www uses already in the forums. I just find these because I know the opposite is normally termed 'non-www' which is what I search for.
Responses (4)
Keeper of the Dark Chocolate — 23rd December 2010 (1 year ago) #
We just talked about this a day or two ago:
http://premium.wpmudev.org/forums/topic/mapping-to-www-domains
Just so you know since the search is broken, each thread here is tagged with the name of the plugin being discussed. If you visit the plugin home page, in this case:
http://premium.wpmudev.org/project/domain-mapping
click on the Support button on the right to pull up those threads:
http://premium.wpmudev.org/forums/tags/domain-mapping
But to answer your question, please give this thread a read:
http://premium.wpmudev.org/forums/topic/domain-mapping-www-vs-non-www
Please do realize that forcing the www is incorrect usage of the url.
Hope this helps,
-drmike
Member — 23rd December 2010 (1 year ago) #
Thanks for your advice! I tried the search before posting, but didn't find anything relevant (now I know why).
Keeper of the Dark Chocolate — 24th December 2010 (1 year ago) #
Not a problem. There's also a forum issue sticky at the moment if you want to give it a scan.
Searching for this isn;t fun as there are hundreds of www uses already in the forums. I just find these because I know the opposite is normally termed 'non-www' which is what I search for.
Member — 30th December 2010 (1 year ago) #
line 23 ish of sunrise.php
//added to fix issue with endusers mapped domains not working for www.
$using_domain=preg_replace( "/^www\./", "", $using_domain );
Become a member