Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^blog.jameswfrost.co.uk [NC]
RewriteRule ^(.*)$ http://blog.jamesfrost.co.uk/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^(.*).jameswfrost.co.uk$ [NC]
RewriteRule ^(.*)$ http://www.jamesfrost.co.uk/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^jameswfrost.co.uk [NC]
RewriteRule ^(.*)$ http://www.jamesfrost.co.uk/$1 [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.