Forum Discussion
Muhammad Farhan
Oct 07, 2018Copper Contributor
Remove aspx extension from SharePoint pages
How can I remove aspx extension from SharePoint Pages? e.g. sample Url
http://wingtipserver:81/sites/test/Pages/Login.aspx to make it http://wingtipserver:81/sites/test/Pages/Login.
- Rob EllisBronze ContributorI'm not sure you can.
If you set Login.aspx as the homepage for the test site, then you could use the Url http://wingtipserver:81/sites/test - which would load http://wingtipserver:81/sites/test/Pages/Login.aspx- Muhammad FarhanCopper Contributor
Actually I don't want to show the extension .aspx in the address bar when the page loads in the browser to the User.
- Rob EllisBronze ContributorTo do that, you would need to do something like URL Rewriting - https://stackoverflow.com/questions/13725669/remove-aspx-extension-from-sharepoint-pages