I have two seperate clean installations of Umbraco 4.5.x and both are having similar problems with page handling. If I browse pages by ID like /1083.aspx the page displays correctly, but if I try to browse by name like /about-us.aspx it gives 404 -开发者_StackOverflow file or directory not found.
Thanks in advance.
Sanjay
Sanjay,
This is because when you're hunting for root content nodes, the umbracoHideTopLevelNodeFromPath appSetting in the web.config is set to true by default. As the name might imply, this hides the top-level node from the URL path. You can set it to "false" to override this behaviour.
HTH,
Benjamin
精彩评论