Redirect HTTP To HTTPS .htaccess

Know here how to redirect http to https through .htaccess file.


.htaccess code

RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
Powered by Blogger.