Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
if you have a page that exists called "pagename"
and you type in the url /pagename.aspx
Then it redirects to /pagename
Why is this? What is special about .aspx. Is this an Umbraco thing or something to do with the way IIS is set up?
Thanks a lot for any info!
Hi Damon,
Try to see this documentation in the webconfig. https://our.umbraco.org/documentation/Reference/Config/webconfig/
Search for the umbracoUseDirectoryUrls, if the value is set to true, then I will strips the .aspx from the urls.
Hope this helps,
/Dennis
Thank you Dennis,
that helps a lot!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Question on how Umbraco routing works - /pagename.aspx goes to /pagename
Hi,
if you have a page that exists called "pagename"
and you type in the url /pagename.aspx
Then it redirects to /pagename
Why is this? What is special about .aspx. Is this an Umbraco thing or something to do with the way IIS is set up?
Thanks a lot for any info!
Hi Damon,
Try to see this documentation in the webconfig. https://our.umbraco.org/documentation/Reference/Config/webconfig/
Search for the umbracoUseDirectoryUrls, if the value is set to true, then I will strips the .aspx from the urls.
Hope this helps,
/Dennis
Thank you Dennis,
that helps a lot!
is working on a reply...