General Trias City, Philippines



Nimitz Batioco

WordPress Developer Since 2009

Always HTTPs

by | Sep 14, 2019 | Blog

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

define('WP_SITEURL', 'https://example.com/'); 
define('WP_HOME', 'https://example.com/');