1. Configure WordPress site to work through https://

  1. Log in to your WordPress Dashboard
  2. Click Settings > General
  3. Update WordPress Address (URL) and Site Address (URL) from http://www.yourdomain.co.uk to https://www.yourdomain.co.uk
  4. Click Save Changes

2. Fix insecure items on your site

If you see an insecure or mixed content warnings when visiting your website over https://, you can look into what is causing the warnings using your web browser console.

3. Force your website to be accessed only over https – (optional)

Add the following code to the top of your .htaccess file to force everyone to access your website only through https.

    # ----------------------------------------------------------------------
    # | Forcing `https://`                                                 |
    # ----------------------------------------------------------------------
    
    # Redirect from the `http://` to the `https://` version of the URL.
    # https://wiki.apache.org/httpd/RewriteHTTPToHTTPS
    
    <ifmodule mod_rewrite.c>
      RewriteEngine On
      RewriteCond %{HTTPS} !=on
      RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
    </ifmodule>