301 Redirects (htaccess) with exclude conditions
snippet in htaccess

301 Redirects (htaccess) with exclude conditions

user3969

RewriteEngine on

#Home: Exclude the home Page
RewriteCond %{REQUEST_URI} !^/$ [OR]

#News: exclude anything that starts with /news, /products etc
RewriteCond %{REQUEST_URI} !^/(news|products|offers|our-philosophy|our-team|our-dream) [NC]

RewriteRule (.*) http://www.cotswold-fayre.co.uk/$1 [R=301,L]