How Do I set up Extensionless URL to work with only 1 specific page?

May 8, 2012 at 8:51 PM

Hi,

I only have one page where i need an url without an extension. From your instructions it looks like if i set this up in the web.config it removes extensions off all the DNN pages?

I only need this for 1 page and leave the rest of the site alone.

For example www.mysite.com/myteam/ourteam.aspx

needs to read or redirect as www.mysite.com/myteam

Can i accomplish this task with this module for only 1 page and not the entire site?

Please advise how.

Thanks

May 10, 2012 at 2:43 AM

Yes, switching off the page extensions only applies to the entire site.  However, if you configure your IIS to work with no page extensions, you can request any of the valid DotNetNuke urls without an extension - they will still work OK.  But this will still not solve your requirement.

This provider does not have a feature to replace or redirect individual Urls for individual DotNetNuke pages.  To do that, you need the Url Master module.  However, it also does not do individual extension handling - the extensions are applied on a sitewide basis.