Portal Home > Knowledgebase > HTML

Articles

 Redirecting non-www to www with .htaccess

To redirect all non-www requests to your site, just add the following code to your .htaccess file. RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1...