up637415/swildspace/master/.htaccess - Htaccess File

up637415/swildspace/master/.htaccess

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]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache