Site structure
Version 7.x > Site structure > Custom extension URLs not working when redirecting all http traffic to https View modes: 
User avatar
Member
Member
kyle.dahlgren-66fcu - 10/24/2013 12:15:04 PM
   
Custom extension URLs not working when redirecting all http traffic to https
On our main site we are redirecting all http traffic to https using a URL rewrite rule. On our test and dev site we are not applying this redirect. I have set up IIS 7 to allow for custom extensions as seen here: http://devnet.kentico.com/docs/devguide/index.html?configuration_of_custom_url_extensions.htm and set up the individual page to use the appropriate custom extension as seen here: http://devnet.kentico.com/docs/devguide/index.html?configuration_of_custom_url_extensions.htm. This has been done for all sites and servers. The custom extensions are working on test and dev sites as seen in the screenshots, however the same custom extensions are not working on the live site that has the redirect rule. Screenshots are attached of this as well. I cannot figure out why this would be happening. Ignore the fact that on dev it is dev.66fcu.org and the live is truitycu.org (we rebranded in the middle of development and launching and I just haven't gotten a chance to adjust dev). Any ideas?

Screenshot 1: User image

Screenshot 2: User image

Screenshot 3:User image

Screenshot 4:[img]
https://www.truitycu.org/images/KenticoImages/liveSiteURL.PNG[/img]

Screenshot 5:[img]
https://www.truitycu.org/images/KenticoImages/devSiteRendered.PNG[/img]

Screenshot 6:[img]
https://www.truitycu.org/images/KenticoImages/liveSiteRendered.PNG[/img]

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 10/25/2013 3:38:38 AM
   
RE:Custom extension URLs not working when redirecting all http traffic to https
Hello,

What are the URLs and SEO settings set in the Site Manager on the live site? Please, also check the global vs. site level settings.
What are the SSL settings set for the web site? Are the pages set to require SSL?

Best regards,
Judraj Ondrus

User avatar
Member
Member
kyle.dahlgren-66fcu - 10/28/2013 12:53:22 PM
   
RE:Custom extension URLs not working when redirecting all http traffic to https
The live site is not set to require SSL in IIS. The URLs and SEO settings are the same on all three environments: Friendly URL extensions: aspx;.htm;.html;.png;; and Files friendly URL extension: aspx. Navigating to a page with .aspx or no extension works. When I try adding .htm, .html, or .png (respectively for a page) I get the 404 page. These are global settings by the way, I don't have separate per site.

User avatar
Member
Member
kyle.dahlgren-66fcu - 10/28/2013 3:01:41 PM
   
RE:Custom extension URLs not working when redirecting all http traffic to https
In case this is helpful for anyone else, I resolved this problem by setting the Managed Pipeline Mode to Integrated from Classic on IIS 7. Once I switched that setting, the extensions began to work.