Problems using parameters

Topics: Developer Forum
Jun 16, 2009 at 8:35 PM

Hi, im new at this place so i appologize if the answer for my question is here in somewhere i cant find.

 

I use isapi rewrite to turm my url more friendly and treansform an url like this:

 

www.site.com?cod=10&name=apple

 

in this:

 

www.site.com/apple/10

its works great but i cant use parameters in this new url because if i put

www.site.com/apple/10?tracker=news

its returns a 404 not found error.

 

Someone knows how i do to avoid this problem?

Tks,

 

Jun 17, 2009 at 8:12 AM

Your rewrite rule is not picking up on anything other than just the apple and the 10.

If you want to be able to add other querystring elements, simple add these to the end.

Use something like (.*) on the end of your rule and pick it up using $n.

If you want to post the rule you're using at the moment, I would be happy to take a look and make a suggestion.

Hope this helps.