Enforcing https on all WordPress pages
Step 1
Go to your file manager or access your files via any FTP client.
Step 2
Open your .htaccess file in edit mode (Where you can update the file and save.)
Step 3
Include the following two lines below RewriteEngine On as shown.
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Step 4
Finally save your updates and close.
And that’s it! your pages will be loading with https.