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} !^$ RewriteRule ^(.*)$$1 [R=301] This will redirect any requests… Read more »