This article is only necessary if you have already been working on your WordPress site without an SSL certificate. If so, there are several links in your database that point to the 'HTTP' version of your URL.
If you have recently added an SSL certificate to your site, you must update these URLs to point to the HTTPS version of your site. For example:
Adding an SSL certificate to your WordPress site is an excellent first step towards securing your data. However, there are a few other steps you must take to fully ensure all links within your site point to the secure version of your domain name (This means the 'HTTPS' version).
View the following article for all steps you should first take to adjust your WordPress site to use an SSL certificate.
The last step would be to adjust your database URLs to point to 'HTTPS'.
Better Search & Replace
- First, make a backup of your database. Just in case something goes wrong, you can easily replace your old database data.
- Download the Better Search Replace plugin. In your panel navigate to 'Plugins > Add New'.
- Search for 'Better Search Replace'.
- Click Install Now.
- Click Activate.
- In your Dashboard, navigate to the plugin under 'Tools > Better Search Replace'.
- Click the 'Search/Replace' tab.
- In the first field titled 'Search for:', enter your current http URL. For example:
At this point, all URLs in your database point to HTTPS.