Have you recently purchased an SSL certificate to your WordPress website? But after installing it, it still gives you an error?
Well, you need to configure WordPress to run and use your new certificate with the following simple steps:
1 – Simpliest Solution
In WordPress backend, navigate to General and change the URL of your Homepage and Site URL.
2 – Forcing WordPress via wp-config.php
Adding two lines of code to your wp-config.php