Greetings,
I want to redirect visitors if the URL doesn't match. I'm trying this:
However, this redirects everything. Can anyone see what I'm doing wrong? I suspect it might be my rule patten "(.*)", but I don't know how to change/fix this.Code:<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} !^(https?:\/\/)?(w{3}\.)?popupsinc\.com\/intranet\/?$ [NC] RewriteRule (.*) http://www.custompopups.com </IfModule>
Thanks,
Shane.


Reply With Quote



Bookmarks