Https not automatically showing

Website URL

wasif.rf.gd

no error message

in my htdocs directory i have a htaccess file with the text ‘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]’ just like i should but its not working. if you visit https://wasif.rf.gd its https but if you visit wasif.rf.gd its not

Hi and welcome to the forum! You’ll have to rename oof.htaccess to .htaccess in order for the rules to work.

5 Likes

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