Rewrite Engine

Because I own the, but would like to point that to the

Here is a good way to make it so that any requests to the domain name (rewrite condition of the host record) will redirect to with a redirection of HTTP 301 (moved permanently).

RewriteEngine On
RewriteCond ${HTTP_HOST} !^(www)\.codingfriends\.co\.uk 
RewriteRule (.*)$1 [L,R=301]

Save that to the .htaccess root directory file. Hope that helps.

Leave a Reply

Your email address will not be published. Required fields are marked *