Why am I getting mixed content or non-https errors
Mixed content issues arise when a secure HTTPS request loads a web page with both HTTPS and HTTP content. For instance, if your HTTPS site at https://example.com/ requests a file from a non-HTTPS URL like http://example.com/style.css.
This error often occurs when your database contains HTTP URLs instead of HTTPS.
To fix this:
Install Better Search Replace plugin
Search for "http://your-site.com" and replace with "https://your-site.com"
Select all tables
Disable 'Run as dry run'
Run Search/Replace
This process will update all HTTP URLs in your database to HTTPS. You can uninstall the plugin afterward.
This error often occurs when your database contains HTTP URLs instead of HTTPS.
To fix this:
Install Better Search Replace plugin
Search for "http://your-site.com" and replace with "https://your-site.com"
Select all tables
Disable 'Run as dry run'
Run Search/Replace
This process will update all HTTP URLs in your database to HTTPS. You can uninstall the plugin afterward.
Updated on: 22/03/2024
Thank you!