naeemqaswar
11/22/2018 - 8:32 PM

Force HTTPS using .htaccess

RewriteEngine On

# Handle HTTP Protocol Redirect
RewriteCond %{HTTPS} !on
RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]