Forum Moderators: phranque
RewriteEngine On
RewriteCond %{HTTP_HOST} \.DOMAIN\.com$ [NC]
RewriteRule ^(.*)$ [DOMAIN.com...] [R=301,L]
This was fine while i kept my website on the main domain...
I now need to use certain subdomains (simply not 301 redirecting them) whilst still redirecting any subdomains I'm not using.
Can anyone help me out with a snippet of code to exclude say xx.domain.com and #*$!x.domain.com from the 301 redirect above?
Your help is much appreciated!