Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: Simple Rule Help Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
wrkalot
Newbie
Newbie


Joined: 20 September 2008
Online Status: Offline
Posts: 3
Posted: 20 September 2008 at 10:40am | IP Logged Quote wrkalot

My host has added ISAPI Rewrite and I would like to take advantage of it. I'm looking to do the following

http://www.example.com/catalog/itemdetail.asp?ItemID=1307

to

http://www.example.com/catalog/red-widget-with-fringe1307.html

This stuff is all greek to me so any help would be greatly appreciated. If you need more info, please let me know!
Back to Top View wrkalot's Profile Search for other posts by wrkalot
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Online
Posts: 4840
Posted: 23 September 2008 at 1:41am | IP Logged Quote Anton

It should be like this:

RewriteBase /
RewriteRule ^catalog/red-widget-with-fringe(\d+)\.html$ catalog/itemdetail.asp?ItemID=$1 [NC,L]

But as you probably have more than one product you'd better take a look at map files:
http://www.helicontech.com/forum/forum_posts-TID-10648.htm


__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
wrkalot
Newbie
Newbie


Joined: 20 September 2008
Online Status: Offline
Posts: 3
Posted: 23 September 2008 at 9:03am | IP Logged Quote wrkalot

Thanks Anton. I'm off to read up on map files :)
Back to Top View wrkalot's Profile Search for other posts by wrkalot
 

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 can vote in polls in this forum