Knowledgebase
How do I redirect non-www to www?
Posted by Mike C. on 11 September 2009 08:02 PM
|
|
Simply add the following to the .htaccess file in your public_html folder: RewriteEngine On Options +FollowSymlinks RewriteCond %{HTTP_HOST} ^domain\.com RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L] Be sure to replace domain with your domain name | |
|
Comments (0)