Possible Bug In Custom URL Mapping

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.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
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.
This thread is closed to new posts. You must sign in to post in the forums.
12/20/2008 1:54:21 PM
Gravatar
Total Posts 9

Possible Bug In Custom URL Mapping

 Me again :) and this time I am not 100% sure if this is acctually a bug since I get no error anywhere inculding the logs.

I created an URL mapping to one of the created pages, addedd the folder with the empty default.aspx. When I go there the actuall default aspx page resolves, very blank - it opens the empty default.aspx.

What might be a "bug" is the edit custom URL mapping dialog. It should automatically resolve the drop down box to the mapped page, and it resolves it to the Home page.

12/20/2008 3:10:07 PM
Gravatar
Total Posts 18439

Re: Possible Bug In Custom URL Mapping

I don't consider that a bug. Its 2 ways of chossing what to map to. Pages only have one url attached to them that they know about if there happen to be other mappings to the page they don't know about it. If you choose the page it maps to the one it knows about. So the page list dropdown has no idea whether something you typed maps to a page in the list.

The Url Manager is buried beneath Advanced Tools for a reason, its generally best not to muck with that and let the system manage the urls for you. If you do it yourself you really need to understand whats going on with the url mapping or you can easily break things.

I don't recommend to use folders and default.aspx files except for very specific things in a multi site installation based on folders. The url system is designed not to reflect site hierarchy on purpose. Urls should be short and should convey the title of the content. This way you are free to move pages around wiothout breaking urls. Good urls don't change. Its also best not to have more than one url pointing to the same page from and seo persepctive.

Urls should end in .aspx unless you have some custom isapi filter on IIS 6 or some custom module in IIS 7.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.