Extentionless URLs and folder based websites as menu

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
10/12/2012 12:50:33 AM
Gravatar
Total Posts 12
Ramesh Menta

Extentionless URLs and folder based websites as menu

I would like to add following features to my web site : www.makeareminder.com

1. having extentionless URLs for selected pages. I have changed below key to true in web.config and also changed PAGE-NAME settings in Administrator --> Site Settings but not taking any effect.

<add key="AllowChangingFriendlyUrlPattern" value="true" />

I should maintain extentionless URLs only for few pages like menus as like www.mojoportal.com menus.

2. having folder based websites in menu of main website.

Kindly suggest.

10/12/2012 8:45:11 AM
Gravatar
Total Posts 18439

Re: Extentionless URLs and folder based websites as menu

Those settings will not change the urls for existing pages, it would only change it so newly created pages have no extension. However you can manually change the url to no extension on an existing page.

10/12/2012 9:10:02 AM
Gravatar
Total Posts 12
Ramesh Menta

Re: Extentionless URLs and folder based websites as menu

Correct joe, even i too observed the same however for both newly created pages as well as existing renamed pages, i am getting "HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly." error.

301 redirect is successfully creates link still this error exists.

And for my 2.nd point: I would like to have folder based website's name as one of the link in main website's menu. Is this possible?

10/12/2012 9:17:25 AM
Gravatar
Total Posts 18439

Re: Extentionless URLs and folder based websites as menu

What version of IIS? It won't work in IIS 6, and in IIS 7.x it requires an Integrated app pool not Classic and may require having this in Web.config:

<modules runAllManagedModulesForAllRequests="true">

not

<modules>

To link to external pages create a page in your main site and put a fully qualified url to the folder site page ie starting with http that will make it appear in the menu.

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