Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > .html friendly url extension making all pages 404 View modes: 
User avatar
Member
Member
JoeFurniss - 1/14/2014 1:12:40 PM
   
.html friendly url extension making all pages 404
I am trying to use .html as the friendly url extension, set through Site manager > Settings > URLs & SEO, but it makes all pages on my site (except for the homepage) produce 404 errors.

If I set it to use .aspx instead, it works fine.

Furthermore, if I set documents aliases that have a .html extension, I get a 404 error for those too.

For info, I'm currently have Kentico running on IIS Express 8.

Any clues on what I'm doing wrong?

Thanks,
Joe


User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 1/14/2014 3:00:40 PM
   
RE:.html friendly url extension making all pages 404
Have you read the documentation on extensionless urls?

User avatar
Member
Member
kentico_sandroj - 1/14/2014 3:16:03 PM
   
RE:.html friendly url extension making all pages 404
Hi Joe,

As mentioned by FroggEye the instructions are available in the linked documentation. You are most likely missing the following Web.config key:

<modules runAllManagedModulesForAllRequests="true">

Please let us know if you have any questions.

Best Regards,
Sandro