KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using ASP .NET rewriteModule to rewrite http://example.com to http://www.example.com . <section name="rewriteModule" type="RewriteModule.RewriteModuleSectionHandler, RewriteModule"/> Then i have this inside <system.webServer> . <rewrite> <rules> <rule name="Canonical" stopProcessing="true"> <match url=".*"/> <conditions> <add input="{HTTP_HOST}" pattern="^([a-z]+[.]com)$"/> </conditions> <action type="Redirect" url="http://www.{C:0}/{R:0}" redirectType="Permanent"/> </rule> </rules> </rewrite> Now i want to remove all the .aspx in the end of my pages. Example: http://www.example.com/Register.aspx Will turn into: http://www.example.com/Register/ How can i do that? I'm on Shared Web Hosting on GoDaddy using IIS7.
Tags (comma-separated)
Save Edits
Cancel