Reputation: 151
I would like to remove the ".aspx" extension from pages in a SharePoint web application. This can be done with URL rewriting in IIS web applications, but I cannot find any way to achieve this is SharePoint site pages.
e.g. abcsite/pages/default.aspx should be abcsite/pages/default.
Upvotes: 3
Views: 2569
Reputation: 14460
I am not sure which version of sherepoint
you are using.
You can use IIS URL Rewrite 2.0 module
Please have a look at these example which has setp by step instructions
SharePoint 2010 with IIS URL Rewrite 2.0
Upvotes: 1
Reputation: 15934
I don't know much about Sharepoint but you can use Url Routing with ASP.NET as an alternative to IIS Rewrite Modules.
One advantage being that forms post back to the correct URL which I prefer (without having to reverse map using IIS Url Rewriting)
Note: Available from .NET 4.0
Upvotes: 2