Using an EmptyFolder/Default.aspx as a target

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.
10/23/2008 4:48:05 PM
Gravatar
Total Posts 11

Using an EmptyFolder/Default.aspx as a target

I need to have users to be able to navigate to:

http://www.mysite.com/folder/subfolder

I have created an emtpy file at <webroot>/folder/subfolder/default.aspx

I have defined a page with a url of "~/folder/subfolder/default.aspx"

However when I try to navigate to "http://www.mysite.com/folder/subfolder" the empty file that I placed there is being rendered. I verified this by putting an empty, but properly formatted HTML structure in the file (HTML/HEAD/BODY).

Is there anything else that I need to do in order to get "http://www.mysite.com/folder/subfolder" to render?

 

-tomas

 

10/24/2008 7:33:18 AM
Gravatar
Total Posts 18439

Re: Using an EmptyFolder/Default.aspx as a target

Hi Thomas,

Sorry to disappoint you but mojoPortal's friendly url system does not support using arbitrary folder depth implied in the url. You should not enter extra / characters in the friendly urls. The system is not designed to reflect the site hierarchy in the url, in fact just the oppposite. By not reflecting the site hierarchy in the Url, it gives us freedom to move pages around in the hierarchy without ever breaking an Url. I recommend you use short urls that give an idea of the page content not its location. In a content management system like mojoPortal, pages don't really correspond to physical files with locations on disk. Pages are created dynamically from the database content.

Best,

Joe

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