need help on this one

Discuss practical ways rearrange URLs using mod_rewrite.

need help on this one

Postby Guest » Thu Nov 20, 2003 10:09 pm

I am having some trouble getting a mod rewrite script going.

I want to have it so this:

http://www.somesite.com/product_info/18 ... d=2973b9da

is translated into this:

http://www.somesite.com/product_info.ph ... d=2973b9da

I am actually using mod_rewrite to make a searche engine friendly site but when the browser has no cookies allowed it resorts to querystrings and I have it append the session id to the end of the SEF URL...


I have something like this but no workie:

RewriteRule ^product_info/(.*).html?(.*) product_info.php?pid=$1&sid=$2

please help and let me know at john@munsey.net

Thx
Guest
 

Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: Google [Bot] and 22 guests

cron