Redirect to friendly URL

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.
11/24/2009 5:20:18 AM
Gravatar
Total Posts 98

Redirect to friendly URL

keep for new created pages friendly URL

 

Hello Joe,

Please tell me if i can create a new page where i want to check :Use Url and put one url like : ~/FirstPage

I try and it work only for url ~/FirstPage.aspx

I need that url's do not contain ".aspx"

 

Thanks,

  Valik

11/24/2009 8:39:21 AM
Gravatar
Total Posts 18439

Re: Redirect to friendly URL

Hi Valik,

You can use extensionless urls in IIS 7 or higher.

http://www.mojoportal.com/extensionless-urls.aspx

Hope it helps,

Joe

11/25/2009 1:42:20 AM
Gravatar
Total Posts 98

Re: Redirect to friendly URL

hello Joe,

thanks for reply

but i have IIS6 and cannot upgrade to IIS7..

If i use ISAPI REWRITE from Helicon will work with mojo?

 

thanks,

    valik

11/25/2009 6:23:33 AM
Gravatar
Total Posts 18439

Re: Redirect to friendly URL

Hi,

I do not know. I don't think it is really isapi url re-writing that is needed. What it needs is for .NET to handle all requests not just requests for .aspx pages and then the mojoportal re-writer will do the re-writing.

Best,

Joe

11/26/2009 8:06:49 AM
Gravatar
Total Posts 98

Re: Redirect to friendly URL

 

  Joe, Sorry i don't understand well the last your post

  What you mean?

  You can describe the steps to implement this?

 

  thanks,

     valik

11/26/2009 9:19:50 AM
Gravatar
Total Posts 18439

Re: Redirect to friendly URL

Hi,

What I'm saying is, although I have never done this on IIS 6, I do not think it needs a custom isapi filter installed, what it needs is wild card mapping to the aspnet_isapi.dll so that .NET handles all requests instead of just requests for .aspx. This article shows how to map it for .gif files to make them handled by .NET but I think you would need .* for wild card mapping. Do some searching for "IIS 6 wildcard mapping" for more info.

Hope it helps,

Joe

12/4/2009 4:01:41 AM
Gravatar
Total Posts 98

Re: Redirect to friendly URL

Hi,

Thanks anyway

I resolve with Isapi rules added exe file into IIS isapi filters

Best,

  Valik

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