Htaccess File

up637415/swildspace/master/.htaccess

HTTP_HOST
RewriteEngine on
RewriteCond %{HTTP_HOST} ^swild.space [NC,OR]
RewriteCond %{HTTP_HOST} ^www.swild.space [NC]
RewriteRule ^(.*)$ http://simonwild.info/$1 [L,R=301,NC]

RewriteCond %{HTTP_HOST} ^simon-wild.co.uk [NC,OR]
RewriteCond %{HTTP_HOST} ^www.simon-wild.co.uk [NC]
RewriteRule ^(.*)$ http://simonwild.info/$1 [L,R=301,NC]

RewriteBase /
RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Exit mobile version