Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with RewriteRule please

Status
Not open for further replies.

ChocolateLover

Programmer
Jan 5, 2006
12
0
0
GB
Can anyone tell me what the rewrite rule for this would be please.

I want to redirect for example
chocolate_scented.html?sid=ee1bfaad296af98940af4448b5fa6b7f
to
chocolate_scented.html

but chocolate_scented.html could be any page name, in other words get rid of sid.

So
*.html?sid=*
redirects to
*.html

Any help would be appreciated.

Thanks.
 
Why are you ditching your session id's? Seems like that is something you would want to keep. If you are having problems with people re-using them you need to set them to expire and let the system handle it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top