views:

28

answers:

2

I am using this, but I have some hard to solve problems.

This is part of my code:

 <rewrite url="/Dictionary/(.+)/(.+)" to="~/Dictionary.aspx?page=$2&amp;&amp;word=$1"/>
 <rewrite url="/Dictionary" to="~/Dictionary.aspx"/>    

When I type links like mywebsite.com/Dictionary/cat/4 the site loads only mywebsite.com/Dictionary.

+1  A: 

Just a guess. Your second condition matches everything starting with /Dictionary. You probably want this

/Dictionary/?$
SchlaWiener
A: 

Just a suggestion but you can also try out IIS Url Rewrite 2 instead.

XIII