Htaccess - Redirect all but one url
snippet in htaccess

Htaccess - Redirect all but one url

user7543

RewriteEngine On

RewriteCond %{HTTP_HOST} ^(www\.)?domain\.com$ [NC]
RewriteRule !^validation http://domain2.com%{REQUEST_URI} [NE,NC,R=301,L]