Extensionless URLs and 2008R2

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
7/1/2010 8:55:01 PM
Gravatar
Total Posts 101

Extensionless URLs and 2008R2

Hi Joe,

I've modified the web.config adding the 'runAll...' attribute to the existing block (shown below):

<modules runAllManagedModulesForAllRequests="true">
     <add name="BannedIPBlockingHttpModule" type="mojoPortal.Web.BannedIPBlockingHttpModule, mojoPortal.Web"/>

 

And also modified web.config for AllowChangingFriendlyURL = true

<add key="AllowChangingFriendlyUrlPattern" value="true"/>
<add key="RSSCSS" value="/Data/style/rss1.css"/>

As per the docs.

I'm running 2008R2, Pool is set to 'Integrated pipeline mode' and using .NET 4.0 (with .NET 4.0 build of Mojo).

I do get the new Dropdown in the site admin/settings. Which I changed to page-name

I've restarted the IIS server.. But still get extensions my pages ???

Any ideas ?

 

Regards

Andrew

7/1/2010 9:11:38 PM
Gravatar
Total Posts 2253

Re: Extensionless URLs and 2008R2

Hi Andrew,

Existing pages will have the .aspx extension until you manually change each page. When you change a page's url, an entry will be added to the 301 Redirect table which will allow old links to work.

New pages will not have extension.

HTH,
Joe D.

7/1/2010 9:17:25 PM
Gravatar
Total Posts 101

Re: Extensionless URLs and 2008R2

Thanks..  I wasn't sure if I missed something in the config.

Again... Thankyou for the SUPER fast reply..

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