When a domain moves http to https , this code paste to htaccess file or create .htaccess file and paste , it will redirect http to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Free ssl provided
1. Zerossl.com
2. Freessl.com
Comments
Post a Comment