
Useful scripting techniques
Click here to go back
28/02/11 - HTACCESS 301 redirect
Use the following example to re-direct site aliases using 301 redirects.Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.independentsurveys.co.uk [NC]
RewriteRule ^(.*)$ http://www.metcalfebriggs.co.uk/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www.msh-cbs.co.uk [NC]
RewriteRule ^(.*)$ http://www.metcalfebriggs.co.uk/$1 [L,R=301]
| ||
| ||


