After i use .htaccess method to SSL Certificate don't work

Website URL

Error Message

After I use the .htaccess method to install the ssl certificate on my website, it doesn’t work anymore, it gives an internal error



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]

Other Information

Hi and welcome to the forum! Your website throws an ERR_SSL_PROTOCOL_ERROR. Maybe you didn’t install the SSL certificate yet, or you might need to get one before you force your website to HTTPS, as just forcing it won’t allow you to use HTTPS. Here is an article to get you started:


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