• Notice regarding image hosts and attachments. See here.

Quick Apache RewriteRule help

Associate
Joined
12 Jun 2003
Posts
2,033
Location
Either Tonbridge or Biggin Hill
Hi all,
Quick bit of mod_rewrite help, if you wouldn't mind?

I need URLs such as this:
Code:
http://servername/presentation-web-navigation/c/abrasives/abrasives/H100001

To become:
Code:
http://servername/c/abrasives/abrasives/H100001

This is what I came up with, but it isn't working:
Code:
RewriteRule ^/presentation-web-navigation(.*)$ $1

Any pointers would be gratefully received.

Thanks.
 
Back
Top Bottom