WordPress.org

Ready to get started?Download WordPress

Forums

Move from non-www domain to www domain (1 post)

  1. epschmidt
    Member
    Posted 3 years ago #

    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 http://www.domain.com on the database as well as adding the following redirect rule to .htaccess.

    RewriteCond %{HTTP_HOST} ^domain\.com [NC]
    RewriteRule ^(.*) http://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 http://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?

Topic Closed

This topic has been closed to new replies.

About this Topic