How to make all web pages redirect to HTTPS via .htaccess

Posted by in Home, Wordpress, on July 25, 2017

Within you .htaccess file you will need to enter the following:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.domain.co.uk/$1 [R,L]
Tags: ,