url rewrite works fine before any click onpage with master page but when we login with login_click login sucess. but url rewrites does not work .
404 error come ..
form1.action=Request.Rawurl
use but not work ..
any suggestion ..
<rule name="rule2" stopProcessing="true">
<match url="courses/([a-zA-Z0-9\()-_]+)-([0-9]+)" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<!-- The following condition prevents rule from rewriting requests to .axd files -->
<add input="{URL}" negate="true" pattern="\.axd$" />
</conditions>
<action type="Rewrite" url="online_courses/course_info.aspx?course_id={R:2}" />
</rule>
after url rewrite..
http://easyshiksha.com/online_courses/courses/Quality-Management-System-53
but after login url rewite not work .. please help us ...