Move from non-www domain to www domain
-
Posted this yesterday in the general support forum before remembering there was a multisite forum:
To use an existing SSL certificate I need to move our site from not using www by default to use www so we don’t get security errors. I’m running 3.0 Multisite with the Domain Mapping plugin. I had WP-Super Cache but disabled it and deleted the cache files for the time being.
I’ve tried search and replace for domain.com and replacing with https://www.domain.com on the database as well as adding the following redirect rule to .htaccess.
RewriteCond %{HTTP_HOST} ^domain\.com [NC] RewriteRule ^(.*) https://www.domain.com/$1 [R=301,L]
Neither have worked. If i just do the .htaccess redirect, it produces a redirect loop. If I do the search and replace adding https://www.domain.com to the database along with the .htaccess redirect, all pages and links are redirected back to the homepage. Am I missing something? Is there a different way to do it with a multisite setup?
- The topic ‘Move from non-www domain to www domain’ is closed to new replies.