This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
I have a site with 6 main pages and each of these has about 8 child pages. One of the main pages is called fitness and its url is <root>/fitness.aspx and some of it's child pages are programs (<root>/fitness/programs.aspx) and classes (<root>/fitness/classes.aspx).
I use a portal:sitemenu control with StartingNodeOffset="1" to navigate to the different child pages within a main page. The problem is that the menu is only rendering relative urls (e.g. fitness/programs.aspx rather than the full url <site root>/fitness/programs.aspx) .This means that when viewing the menu from <root>/fitness/programs.aspx the menu item for programs points to <root>/fitness/fitness/programs.aspx. This obviously gives a 404 error.
Also, this only seems to happen when the site is hosted in IIS. It seems to work fine when debugging with cassini.
Hi,
Sorry but we don't support extra segments in the url like /fitness/, you should make the url for those pages like fitness-classes.aspx and fitness-programs.aspx instead of adding segments.
Hope it helps,
Joe
Thanks for the speedy response. This lead to a new issue. I was fiddling around and changed the url for the fitness page from ~/fitness.aspx to just ~/fitness . This didn't work so I changed it back but now whenever I go to <root>/fitness.aspx it still tries to redirect me to <root>/fitness/.
I've restarted IIS and my entire system with out any luck. I've checked the url mapping screen and everything appears to be correct, same with the FriendlyUrls database table.
Is there some sort of cache that I'm missing?
Whenever you change the page url a permanent redirect is created from the old url to the new one. But then if you change it back it cannot do it again or it would cause an infinite loop. Go to Administration > Advanced Tools > 301 Redirect Manager and delete the redirect.
It is possible in IS 7 and above to use extensionless urls.
Thank you joe. That worked.