Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: redirect rule Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
zander
Newbie
Newbie


Joined: 12 May 2008
Online Status: Offline
Posts: 4
Posted: 12 May 2008 at 8:54pm | IP Logged Quote zander

Hi there

I want to redirect this url http://www.mysite.co.uk/viewlist.asp?cid=10000&sid=50059

To something like this http://www.mysite.co.uk/productlist/pets/50059.html

Or anything with static looking urls that works well. 

cid being the individual category ID which is "pets" in this case

viewlist.asp being the list of products available on the page.

Or anything with static looking urls that works well. 

Back to Top View zander's Profile Search for other posts by zander
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7389
Posted: 16 May 2008 at 5:09pm | IP Logged Quote Lexey

RewriteRule /viewlist\.asp\?cid=10000&sid=(\d+) http\://www.mysite.co.uk/productlist/pets/$1.html [I,RP]
Back to Top View Lexey's Profile Search for other posts by Lexey
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum