Hi,
I have multiple addon domains but I can't get them to redirect to HTTPS .
What should I put in the .htaccess file?
Tried pretty much everything there is on Google on this topic.
Including this:
Also, I have cPanel V78, so I don't have the feature from V80 where I can force the https redirect.
Thanks!
I have multiple addon domains but I can't get them to redirect to HTTPS .
What should I put in the .htaccess file?
Tried pretty much everything there is on Google on this topic.
Including this:
Code:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Thanks!
Last edited: