1. The current home page url must be
changed from http://10.1.0.15/JetPortal/Home/Homepage.aspx to
http://10.1.0.15/JetPortal
2. In all other urls like
About : http://10.1.0.15/JetPortal/Common/About_Us.aspx
Service : http://10.1.0.15/JetPortal/Common/Our_Services.aspx
Career : http://10.1.0.15/JetPortal/Common/Careers.aspx
Contact Us :http://10.1.0.15/JetPortal/Common/Contact_Us.aspx
Removal of "common" from the above
URL
So, Please Advoice how can we achive the same .
we have already tried from IIS7 and Web.config ,but its not working
please check belows code and advoice.
<rewrite>
<rule>
<rule name="Rewrite to folder1" stopProcessing="true">
<match url="http://10.1.0.15/JetPortal/Home/Homepage.aspx" />
<conditions>
<add input="{HTTP_HOST}" pattern="^http://10.1.0.15/JetPortal/Home/Homepage.aspx$" /
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="Common/{R:1}" />
</rule>
<rule name="Rewrite to folder2" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^http://10.1.0.15/Home/JetPortal/Homepage.aspx$" />
</conditions>
<action type="Rewrite" url="Common/{R:1}" />
</rule>-
</rule>