Posts Tagged: duplicate content

Redirect from non-www to www

We’re often asked how to achieve this, whether it be to prevent duplicate content or force a site to use your SSL. This is really easy to do, open up the .htaccess in the public_html folder of your site and add: RewriteEngine on RewriteCond %{HTTP_HOST} !^www.your_domain.com$ RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301] This will redirect any requests… Read more »