Gary
asked on
.htaccess Rewrite rule
I'm trying to redirect /hotels/ to a sub directory (which is a cname)
Rule is
RedirectMatch 301 /hotels/(.*) http://images.mysite.com/hotels/$1
It seems to beredirecting to
http://images.mysite.com/hotels/
What am I missing, why is it not appending the rest of the url
Rule is
RedirectMatch 301 /hotels/(.*) http://images.mysite.com/hotels/$1
It seems to beredirecting to
http://images.mysite.com/hotels/
What am I missing, why is it not appending the rest of the url
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER