Redirect www to non-www ( and vice-versa )


If you are seeing the alert above on your Go CMS pages, then you may need to use a redirect to fix it.

For example, if you have as the Web Address setting in RapidWeaver, then you will see this error if you go to your site using the This can happen if just the opposite as well. It is alwaus good for SEO to only use either www or non-www version of your domain. See below for instructions on how to fix this.

Step 1. Find the .htaccess file of your website and download it to your computer.

It is the most important step, because without .htaccess file we wouldn't be able to make 301 redirect from www to non-www

Step 2. Add the following code into .htaccess file.

To make the 301 redirect from www to non-www you have to add the following code into your .htaccess file:

RewriteEngine On
RewriteCond %{HTTP_HOST}
RewriteRule (.*)$1 [R=301,L]

 Or if you want to make 301 redirect from non-www to www domain add this following code:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk