Click here to Skip to main content
15,900,725 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am implementing url rewriting

i have plenty of pages such as
http://www.xyz.com/company1/company_profile.htm
http://www.xyz.com/company2/company_profile.htm
http://www.xyz.com/company3/company_profile.htm
http://www.xyz.com/company4/company_profile.htm
http://www.xyz.com/company5/company_profile.htm

for all those i have created 1 aspx page

and now i want to define rule with regular expression
please help me for creatie a rule for above pattern
XML
<modulesSection>
<rewriteModule>
<rewriteOn>true</rewriteOn>
<rewriteRules>

<rule source="Default.html" destination="Default.aspx"/>

</rewriteRules>
</rewriteModule>
</modulesSection>
Posted
Updated 7-May-12 6:11am

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900