How to Force HTTPS using .htaccess Redirection in Three Lines
Don’t waste time or bloat your WordPress website. Just a few lines of code can ensure your website automatically default to HTTPS over HTTP. The code below can easily be added to your website via FTP or File Manager in your hosting control panel. Look for the file .htacess in your Public HTML root directory…