SSL ony in a Directory

Hi there,

I’m trying to create a page-rule that allows me to browse my site without SSL but forces all the contents of a folder to open under https.

So:

http://.maindomain.com/ | Non https
http://
.maindomain.com/FOLDERX/ | Non https
http://.maindomain.com/folderY/ | Forced to open in https://.maindomain.com/folderY/

There’s a way to do that ?

Thanks

You only need one page rule, for that particular directory, where you enable “Always use HTTPS”.

Hi thanks for the reply i tryed with:

SSL: Flexible

Page Rule:

http://*.maindomain.com/folderY/*        ALWAYS USE HTTPS

But is not working … maybe he take some time (?)

Try without the period.

http://*maindomain.com/folderY/*

Can you post the URL in question?

Sure,

still no change with

http://*maindomain.com/folderY/*

:sweat_smile:

Fixed some colleague had deactivated Cloudflare from the A records, really thanks for the help.

With

http://*maindomain.com/folderY/*

Is working like a charm

This topic was automatically closed after 30 days. New replies are no longer allowed.