Is a way for displaying page independent of "UseUrlReWriting" setting?.

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/3/2009 11:48:31 AM
Gravatar
Total Posts 550

Is a way for displaying page independent of "UseUrlReWriting" setting?.

Hi Joe

We set "UseUrlReWriting" to "true" in web.config and add some page to site that use URL, if in future a site administrator reset "UseUrlReWriting" to "false" then the pages that had been set to use URL not display. Is a way for displaying these page independent of "UseUrlReWriting" setting in web.config?.

Best,

Asad

6/4/2009 8:12:44 AM
Gravatar
Total Posts 18444

Re: Is a way for displaying page independent of "UseUrlReWriting" setting?.

Hi Asad,

I have fixed this in my copy so it will be fixed in trunk next time I merge. The SiteMapProvider was not checking the UseUrlRewriting setting. Really that setting only exists from way back when I first was implementing suppport for friendly urls when it wasn't finished. I never really planned for it to be a permanent setting. I can't imagine a situation where anyone would not want to use friendly urls. But it was a simple fix so it will work with UrlRewriting disabled. However, it won't work for folder based sites because folder based sites relies on UrlRewriting. Probably I should remove that setting from Web.config so no-one is tempted to set it to false.

Best,

Joe

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