Change default non-www primary domain to www version on Multisite 3.3.1
-
Hi there!
Forgive me if this has been answered, as I know variations of this topic have been discussed at length, but I can’t seem to find my specific answer…
I have Multisite installed at a GoDaddy hosting account, setup as subfolders, and am successfully using this domain mapping plugin -https://www.ads-software.com/extend/plugins/wordpress-mu-domain-mapping/.
The domain mapping plugin allows me to map both the www and non-www versions of the child site domains, while setting the www version as primary.
However, the main domain has the non-www version set as primary and I can’t figure out where or what is setting this to be so. This main domain is https://www.defamationofcharacter.net.
Also, to rule out any crazy .htaccess settings as the issue, I’ve included mine below. As far as I can tell, it’s pretty basic:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L]
Any ideas? I did read in a thread that it may be a server issue? Also, I should mention that I tried adding https://www.defamationofcharacter.net to the domain mapping plugin, but it wouldn’t let me add it…I’m assuming because it’s the primary domain.
Thank you in advance for your help,
Ashley Rossi
- The topic ‘Change default non-www primary domain to www version on Multisite 3.3.1’ is closed to new replies.