mod_rewrite help
Posted: Sat Oct 11, 2008 6:14 am
Im currently having some serious problems with mod_rewrite or maybe im just not understanding it right.....
Ive added this line to my mod_rewrite file but i get an internal server error when its turned on.
basically i want this page:
http://www.redsquareclothing.co.uk/mens ... jma-Jacket
to automatically redirect using a 301 to this page:
http://www.redsquareclothing.co.uk/mens ... acket.html
Any help or nod in the right direction would be much appreciated.
edit:
@ shortened URL
Regards, Mal
Code: Select all
Rewriterule '^mens/item/(.*)/(.*)/(.*)/(.*) mens-item-(.*)-(.*)-(.*)-(.*).html [R=301, NC, L]
basically i want this page:
http://www.redsquareclothing.co.uk/mens ... jma-Jacket
to automatically redirect using a 301 to this page:
http://www.redsquareclothing.co.uk/mens ... acket.html
Any help or nod in the right direction would be much appreciated.
edit:
Regards, Mal