RewriteRule ^(.*)products/(.*)/(.*)$ $1/products?BRAND=$2&VENDORCODE=$3 [PT,L]
Hi, I am currently using the above rule to make this ure:
http://www.testsite.com/products?BRAND=?&VENDORCODE=471
look like this:
http://www.testsite.com/products/ALIFE/248
Sometimes the url will have a 3rd parameter like below:
http://www.testsite.com/products?BRAND= ... 71&offset=?
I need a rule or condition to change the above to the below url when &offset=? is being passed in:
http://www.testsite.com/products/ALIFE/248/1
thanks
john