Forum Moderators: phranque
[edited by: incrediBILL at 8:16 am (utc) on Mar 27, 2012]
[edit reason] exemplified URLs [/edit]
you're doing a rewrite there.
if you want a redirect you must specify the R flag, probably with a 301 value.
you can also get a redirect to work if you specify the hostname in the substitution string.
i would do both - to canonicalize the hostname and make it clear that it is a redirect.
to have a friendlier url of
/new_cars/brandname.html
[^/]* with [^/]+ here. Your current rule allows example.com/.html to be a valid URL.
you're doing a rewrite there.
if you want a redirect you must specify the R flag, probably with a 301 value.