Htaccess to change URL displayed in browser
I am trying to prevent xyz.com from appearing in the browser address bar
but still direct abc.com traffic to the xyz.com site. I was expecting that
to happen once I removed "R" from the [QSA, L]. However there doesn't
appear to be any change. Is there a different HTTP header or connection
variable that I should be using?
rewritecond %{HTTP_HOST} ^(www\.)?abc\.com$ [NC]
rewriterule ^ http://xyz.com/?snack [QSA,L]
No comments:
Post a Comment