There was a problem loading the comments.

Fix WordPress mixed content warnings after enabling SSL (GARMTECH Hosting)

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

After enabling SSL and redirecting your website to HTTPS, your browser may still show warnings like:

  • “Not secure”
  • Mixed content (some resources are loaded via HTTP)
  • Broken padlock icon in the address bar

This happens because WordPress may still contain http:// links in the database or the theme/plugin code. Below are the recommended steps for GARMTECH Hosting (Plesk + LiteSpeed).

Step 1: Make sure HTTPS works first

  • Confirm you have a valid SSL certificate in Plesk (Websites & Domains → domain → SSL/TLS Certificates).
  • Confirm HTTP → HTTPS redirect is enabled (Plesk hosting settings or .htaccess rules).

Step 2: Update WordPress site URLs

  1. Log in to WordPress Admin.
  2. Go to SettingsGeneral.
  3. Set both fields to HTTPS:

Step 3: Replace old HTTP links in the database (recommended)

Even after changing the site URLs, WordPress content (posts, images, widgets) can still reference http://. The clean solution is a database search/replace:

  • Option A (preferred): Use WordPress Toolkit in Plesk if it offers a search/replace tool.
  • Option B: Use a WordPress search/replace plugin (run a backup first).

What to replace:

Search:  http://example.com
Replace: https://example.com

Step 4: Clear caches

  • In WordPress, clear LiteSpeed Cache (Purge All).
  • If you use Cloudflare or another CDN, purge its cache too.
  • Hard refresh your browser (or test in an incognito window).

Step 5: Find the remaining mixed-content resource

If the warning still appears:

  1. Open the page in Chrome/Edge.
  2. Press F12 → open Console.
  3. Look for “Mixed Content” messages. They usually show the exact file URL that still uses HTTP.

Common sources are:

  • theme CSS/JS files that hardcode http://
  • old image URLs inside content
  • external scripts (fonts, analytics) loaded over HTTP

Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

Tags

© GARMTECH