Tagged: https

Allow only HTTPS access with .htaccess

If you want any of your web-directory to be accessed only via Secure HTTP (HTTPS) protocol then placing following code in “.htaccess” will make sure that any URL or Web-address will be converted from Http to Https.