I have this rule:
Is it possible to capture target file (file where link leads to) without including it into string passed to rewrite?Code:RewriteRule ^.*/pr/?([^/]*)/?([^/]*)/?$ /product.php?products_id=$1&page=$2
String to rewrite I'm passing looks something like this:
Please note: no filename passed.[dabljux3].site.com/cables-accessories/speaker-cables/audioquest/type-6-offcut/product/2393/1
I tried (among others):
cur it does not seem to work.Code:RewriteRule ^.*/product/?([^/]*)/?([^/]*)/?$ /%{REQUEST_FILENAME}?products_id=$1&page=$2
Anyone can help?





Bookmarks