Extensionless URLs with IIS6

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
8/22/2011 10:03:29 AM
Gravatar
Total Posts 8

Extensionless URLs with IIS6

Hello,

using instructions on this page (http://www.mojoportal.com/extensionless-urls.aspx), I changed all addresses of a website to extensionless URLs. Now, after copying everything to the production server I realized that it doesn't work there. The reason: my development environment has Windows 7 and IIS7, but our production server has Windows Server 2003 with IIS6.

Now I'm trying to understand if it would be possible to solve this problem without changing all URLs in mojoPortal or creating URL mapping or 301 redirects for each particular page, by just using some ISAPI rewrite filter. I guess not, but I'm not sure, and before trying I decided to ask here.

The solution suggested by Joe (http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=3&thread=1582&postid=6589, third post from the top), i.e. to create a folder for each extensionless URL and put an empty Default.aspx file there, is really too much trouble.

So, is there any easy way to do it, or should I better manually change each URL back to the version with extension?

Thanks in advance, Pavel

8/22/2011 10:25:25 AM
Gravatar
Total Posts 18439

Re: Extensionless URLs with IIS6

I've updated the article Extensionless Urls with a few links with different approaches for doing it in IIS 6.

Hope that helps,

Joe

8/22/2011 11:36:11 AM
Gravatar
Total Posts 8

Re: Extensionless URLs with IIS6

Thank you Joe for a prompt response! I will try it.

Pavel

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