{"id":3944,"date":"2026-08-11T14:48:00","date_gmt":"2026-08-11T13:48:00","guid":{"rendered":"https:\/\/www.4uhosting.co.uk\/articles\/knowledgebase\/fix-mixed-content-errors-in-wordpress\/"},"modified":"2026-08-19T14:00:23","modified_gmt":"2026-08-19T13:00:23","slug":"fix-mixed-content-errors-in-wordpress","status":"publish","type":"kb_article","link":"https:\/\/www.4uhosting.co.uk\/articles\/knowledgebase\/fix-mixed-content-errors-in-wordpress\/","title":{"rendered":"Fix Mixed Content Errors in WordPress"},"content":{"rendered":"<p>Mixed content happens when a WordPress page loads over HTTPS but some images, scripts, stylesheets or other files still load over HTTP.<\/p>\n<p>This can cause browser security warnings or stop parts of the page from loading correctly.<\/p>\n<p>Before you start, make sure the domain has a valid SSL certificate.<\/p>\n<ol>\n<li>Log in to your WordPress admin area.<\/li>\n<li>Go to <strong>Settings<\/strong> &gt; <strong>General<\/strong>.<\/li>\n<li>Check the <strong>WordPress Address<\/strong> and <strong>Site Address<\/strong> fields.<\/li>\n<li>Make sure both addresses start with <code>https:\/\/<\/code>.<\/li>\n<li>Save the changes if you had to update either address.<\/li>\n<li>Clear any WordPress, theme, plugin or server cache.<\/li>\n<li>Check the site again in a private browser window.<\/li>\n<\/ol>\n<p>If the warning is still showing, old HTTP links may still be stored in the WordPress database.<\/p>\n<p>You can usually fix this with a reputable SSL or search-and-replace plugin. Plugins such as Really Simple Security can help with SSL and mixed content, while search-and-replace plugins can update old <code>http:\/\/<\/code> links stored in posts, pages and settings.<\/p>\n<p>If you use a search-and-replace plugin, take a backup first. Search for the old HTTP version of your domain and replace it with the HTTPS version.<\/p>\n<p>Example:<\/p>\n<p><code>http:\/\/example.test<\/code><\/p>\n<p>Replace with:<\/p>\n<p><code>https:\/\/example.test<\/code><\/p>\n<p>Use your real domain name rather than <code>example.test<\/code>.<\/p>\n<p>If the mixed content warning remains, open the browser developer tools and check the Console tab. This can show which file is still loading over HTTP.<\/p>\n<p>The remaining issue may come from a theme, plugin, page builder, embedded script or external service. If you are unsure, open a support ticket and include the page URL where the warning appears.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mixed content happens when a WordPress page loads over HTTPS but some images, scripts, stylesheets or other files still load over HTTP. This can&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","kb_category":[37],"class_list":["post-3944","kb_article","type-kb_article","status-publish","hentry","kb_category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article\/3944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article"}],"about":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/types\/kb_article"}],"author":[{"embeddable":true,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article\/3944\/revisions"}],"predecessor-version":[{"id":4031,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article\/3944\/revisions\/4031"}],"wp:attachment":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/media?parent=3944"}],"wp:term":[{"taxonomy":"kb_category","embeddable":true,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_category?post=3944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}