This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: Anton- Help me please (Topic Closed Topic Closed)
Author
Message |
lightguy1
Groupie


Joined: 08 July 2008
Posts: 63
Posted: 08 July 2008 at 4:25pm  

I installed Rewrite 3 into IIS and it works great, except on my urls where my part numbers contain a / in them. These will not get processed

For example, my original url works:
http://www.mysite.biz/moreinfo.int?itemno=CF11G25/827/MED

My rewritten url, does not work:

http://www.mysite.biz/light-bulb/CF11G25/827/MED

It will not process ANY url where my itemno contains a / in it. How can I fix this? If i view my webserver, it will show that the only thing being requested is CF11G25 and nothing after the /

Below is my configuration:

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.51

RewriteEngine on
RewriteRule ^light-bulbs/([^/]*) moreinfo.int?itemno=$1 [L]
Please help me!!!!
Thanks
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 09 July 2008 at 9:17am  

The rule should look like this:

RewriteEngine on
RewriteBase /
RewriteRule ^light-bulbs/(.+)$ moreinfo.int?itemno=$1 [L]


__________________
Regards,
Anton
Back to Top
 
lightguy1
Groupie


Joined: 08 July 2008
Posts: 63
Posted: 09 July 2008 at 9:30am  

Thanks, got it working!

Now how do I send a 301 with isapi rewrite so when my old indexed urls are requested they receive the proper 301 to the new url?
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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