System-wide ssl for great-site.net not enforcing https

Website URL

(please specify the URL of the site on which you are experiencing the problem)

Error Message

Hello infinityfree team, i copied the .htaccess code exactly as the guide you shared but the redirect from http:// to https:// seems not to work since my site url still displays ‘Not Secure’ and that the site doesnt support HTTPS (check attached screenshot) even after including the suggested code i.e "RewriteEngine On

RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:CF-Visitor} !{“scheme”:“https”}
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]"
.

Check attached screenshot and please advice how to resolve this permanently

(please share the FULL error message you see, if applicable)

Other Information

(other information and details relevant to your question)

HTTPS isn’t enforced by default. You have to do this through a .htaccess rule.

Also WWW. sub sub domains arn’t supported by HTTPS.

However, if someone tries to access your site via HTTP or with the WWW they will still see this warning before they are redirected. That’s just how browsers work unfortunately.

If you could share your domain, we might be able to help more

6 Likes

The error page you’ve shared seems pretty clear to me: it says that your website doesn’t support a connection with HTTPS.

Enforcing HTTPS on a website that doesn’t support HTTPS is not going to work of course.

However, all free subdomains should just support HTTPS, so it’s strange that your browser says that your website doesn’t.

Would you mind sharing the link so we can check it?

6 Likes

Hello. I’m getting HTTP error 500. It’s an internal server error. Can you show the exact contents of .htaccess inside the demo folder AND .htaccess in your root folder?

Also, I’m sure everyone here wants to help, but we will be all guessing if you withhold us the correct URL. Thanks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.