I have setup some subdomain blogs and working fine but I want the main domain has www infront of it. Somehow it won't let me add www.
Is there a way that we can make it happens?
I have setup some subdomain blogs and working fine but I want the main domain has www infront of it. Somehow it won't let me add www.
Is there a way that we can make it happens?
I am keen to do this as well. Has anyone got any tips? I have the .htaccess code setup which re-directs non www. links fine, but obviously it directs to a page not found as Wordpress MU has not been setup to use www.
Please help us to do this!!
It may be line 10-11 of wpmu-settings.php in your WP MU root folder:
if( substr( $domain, 0, 4 ) == 'www.' )
$domain = substr( $domain, 4 );
Try commenting those 2 lines out.
And always try and do it through the wp-admin panel first!
You may need to change the wp-config.php file too.
In 3.0 this won't be necessary.
These lines are not available in 3.0 beta 1, however I still had the same problem as I ran the install routine on the url without the www.
Solved it by going into the db and updating 2 entries to include the www
1) option_name = siteurl
2) option_name = home
Worked like a charm with no .htaccess mods and the redirect from non-www url works too.
Right, because 3.0 support the www. No need to hack any code.
(changing db entires is not hacking the code)