How-to · WordPress (self-hosted)
Fix “Not secure” on a self-hosted WordPress site
On self-hosted WordPress, HTTPS starts at your host. Turn on the certificate, update the two site addresses in Settings, then clear mixed content.
Steps checked against the platform’s own help pages on 27 October 2026. Menus move; if yours look different, tell us and we’ll update this page.
WordPress works with HTTPS, but it doesn’t create the certificate: your host does. So the fix has three parts: a certificate at the host, the right addresses in WordPress, and no leftover http:// links.
1. Turn on the certificate at your host
Log in to your hosting control panel and look for SSL, Let’s Encrypt or HTTPS. Most hosts include a free certificate. Turn it on for both yourbusiness.com and www.yourbusiness.com. If your host charges for a basic certificate or doesn’t offer one, that’s a reason to move hosts.
Many hosts also have a Force HTTPS switch that redirects every http:// request. Turn it on once the certificate is active.
2. Update the site addresses in WordPress
- Take a backup first.
- In WordPress, go to Settings → General.
- Change WordPress Address (URL) and Site Address (URL) from
http://tohttps://. - Click Save Changes. You’ll be logged out; log back in at the https address.
If those two fields are greyed out, they’re set in the wp-config.php file (as WP_HOME and WP_SITEURL) and have to be changed there.
3. Clear mixed content
Old posts and pages often contain images and links saved with http:// addresses. Our HTTPS checker lists them for any page. Fix them by editing the post, or with a search-and-replace tool from a reputable developer, after a backup. Also check your theme’s settings, widgets and any custom code.
More detail on why the padlock disappears: what is mixed content.
Fix “Not secure” on other platforms
More how-tos for WordPress (self-hosted)
Sources
Filed under Security
Next step
Not sure where your own business stands?
A two-minute check-up shows where you are losing time and customers, and what to fix first.



