MC-BARS.COMDomains · SSL · HTTPS · Guides

MC-BARS.COM / Articles / Mixed Content Error: How to Fix Insecure Resources on an HTTPS Site

Mixed Content Error: How to Fix Insecure Resources on an HTTPS Website

Home › Articles › Mixed Content Error
HTTPS Diagnostics · Article No. 8

Mixed Content Error: How to Fix Insecure Resources on an HTTPS Website

Updated: November 5, 2026 · Length: 29,060 characters · 19 sections · 4 illustrations

Is your SSL certificate installed, but the browser reports insecure content, or have images and buttons stopped working? This detailed guide explains the cause, shows how to find the problematic HTTP resource, and helps you fix Mixed Content without risky bulk URL replacements.

Important: the examples use a fictional address example.ru. Before making changes to a live site, you need a backup and must check that resources are available over HTTPS.

1. What Mixed Content Is and Why It Appears

Mixed Content, or mixed content, is a situation in which an HTML page is opened at a secure address https://and one or more of its resources are requested over an unencrypted http://. The main domain's certificate may be perfectly valid. The problem is not with the certificate itself, but with how the page loads images, stylesheets, fonts, scripts, videos, and other components.

Imagine a page https://example.ru/catalog/. The server passes the TLS check and serves the HTML over a secure connection. But the document contains the string <script src="http://example.ru/js/shop.js"></script>. The browser detects that a JavaScript file is supposed to be delivered over an insecure channel. An attacker on the network could modify such a file before it is downloaded, so modern browsers usually block the request. As a result, the shopping cart, menu, or form may stop working.

This error is often discovered after a site moves from HTTP to HTTPS. Old posts, the WordPress database, theme settings, and third-party widgets may still contain absolute links created before the certificate was issued. Sometimes the source of the problem is a CDN, a third-party ad, manually embedded map code, or a misconfigured reverse proxy.

The key takeaway: having a valid SSL/TLS certificate is necessary for HTTPS, but it is not enough to ensure that all page components load securely. You need to check not only the address bar, but every resource the browser actually loads.

HTTPS site with insecure HTTP resources: stylesheets and scripts may disappear because of mixed content.
HTTPS site with insecure HTTP resources: stylesheets and scripts may disappear because of mixed content. Illustration created specifically for MC-BARS.COM; this is a diagram, not an actual screenshot of an interface.

2. How Browsers Handle Images, Scripts, and Stylesheets

Mixed content used to be commonly divided into “active” and “passive” categories. Today, browser specifications and documentation more often use the categories upgradable — requests that the browser can automatically upgrade to HTTPS — and blockable — requests that are subject to blocking. It is important not to confuse these groups because they behave differently.

A regular image with src="http://example.ru/photo.jpg" will generally be loaded by a modern browser using https://example.ru/photo.jpg. Similar upgrades also apply to some videos, audio files, and CSS background images. If an HTTPS version is unavailable, the resource will not appear. Automatic upgrades are limited for requests to IP addresses: such mixed requests are blocked.

However, JavaScript files, CSS stylesheets, embedded iframes, requests fetch(), web fonts, and a number of other resources are usually blocked by the browser immediately. Images also have some nuances: srcset and the element <picture> may be treated more strictly than a simple img src. So the claim that “the browser always fixes images automatically” is incorrect.

ResourceExampleTypical browser behavior
Regular image<img src="http://…">Attempt to upgrade to HTTPS; if unsuccessful, a loading error
JavaScript<script src="http://…">Insecure request blocked
External CSS stylesheet<link rel="stylesheet" href="http://…">Usually blocked
Embedded page<iframe src="http://…">Mixed content blocked
CSS background imagebackground-image: url("http://…")May be automatically upgraded to HTTPS
API requestfetch('http://…')Blocked; interface failures may occur

This is a generalization about modern browsers, not a guarantee of identical behavior across all versions. The right solution is to fix URLs in the code and data source, rather than relying on the browser to fix them automatically.

Why different HTTP resources are handled differently: secure connections and blocked requests.
Why different HTTP resources are handled differently: secure connections and blocked requests. Illustration created specifically for MC-BARS.COM; this is a diagram, not an actual screenshot of an interface.

3. Symptoms: What Exactly Stops Working on a Site

Mixed Content can manifest in different ways. Sometimes the only visible problem is a missing ad banner or an image in an old post. In other cases, after switching to HTTPS, the site loses its styling, the mobile menu stops opening, a form submission fails, product filtering stops working, or an interactive map does not load. The cause is that the browser refused to run an important script or load CSS over HTTP.

A common diagnostic sign is that the page opens over HTTPS without a certificate error, but the developer tools show messages such as Mixed Content, blocked or warnings about automatic upgrades to HTTPS. The browser's security indicator may change, but its appearance changes over time and should not be the only criterion for checking.

If the browser shows ERR_CERT_COMMON_NAME_INVALID, ERR_CERT_DATE_INVALID or reports an untrusted certificate authority, that is a different class of problem. First, fix the domain name, expiration date, or certificate chain, then check for mixed resources. Replacing links in WordPress will not fix a certificate with an incorrect name.

It is worth checking several real-world scenarios: the home page, an internal article, a product page, the shopping cart, a contact form, the login page, and the mobile version. Different templates may load their own plugins and external services, so the absence of a warning on the home page does not mean that the entire site is working correctly.

4. Diagnostics in Chrome and Firefox: Console, Network, Issues

The fastest way to find the source is to open the problem page in a browser and launch the developer tools. In Chrome, this is usually the F12 key or the Ctrl+Shift+I shortcut on Windows/Linux; on macOS, use ⌥⌘I. In Firefox, the tools are available through similar shortcuts and the developer menu. Then open the Console tab and refresh the page.

A typical message looks like this: “Mixed Content: The page at 'https://example.ru/' was loaded over HTTPS, but requested an insecure script 'http://example.ru/js/app.js'. This request has been blocked”. Two important addresses are shown here: the page itself and the requested HTTP resource. The second address is the one you need: use it to find the entry in a template, database, or plugin.

To search systematically, open Network, enable “Preserve log” if needed, and reload the page with the cache disabled. The Name, Status, Type, and Initiator columns help identify what initiated the request. In Chrome, the Issues section also groups security issues and explains why a request was blocked or automatically upgraded.

  1. Open the page specifically over https:// and launch the developer tools.
  2. Clear the console and refresh the page to remove old messages.
  3. Copy each address from http://, indicated in the warnings.
  4. Check what initiated it: HTML, CSS, the theme, a plugin, an iframe, or a third-party API.
  5. Check whether the same resource is available over HTTPS and whether its content differs.
  6. Fix the original link, clear the cache, and run the check again.

Copying the full browser log into a public chat is not recommended: network requests may contain authorization tokens, personal parameters, and private addresses. For diagnostics, a safely anonymized URL and file name are sufficient.

Example of a Mixed Content message in the developer console: the source of insecure JavaScript is identified.
Example of a Mixed Content message in the developer console: the source of insecure JavaScript is identified. This illustration was created specifically for MC-BARS.COM; it is a diagram, not a real interface screenshot.

5. What the error looks like in code: five illustrative examples

Understanding HTML structure helps you fix the error faster. The first example shows a regular image loaded over HTTP; the second, a critical script. The third is a link to a stylesheet. The fourth example shows an iframe, and the fifth, a CSS background. All of these involve loading resources, but browsers do not handle them in exactly the same way.

<!-- Нежелательно для HTTPS-страницы: -->
<img src="http://example.ru/uploads/photo.jpg" alt="Фото">
<script src="http://example.ru/assets/app.js"></script>
<link rel="stylesheet" href="http://example.ru/css/theme.css">
<iframe src="http://maps.example.net/widget"></iframe>
<style>.hero{background-image:url("http://example.ru/bg.jpg")}</style>

If the files are on the same site and HTTPS is already configured for them, it is best to use relative URLs or explicitly use HTTPS. A relative path /assets/app.js does not specify the scheme or domain, so when a secure page is opened, the browser requests the file over HTTPS. This is convenient for static files on your own site.

<!-- Правильные варианты для своего сайта: -->
<img src="/uploads/photo.jpg" alt="Фото">
<script src="/assets/app.js"></script>
<link rel="stylesheet" href="https://example.ru/css/theme.css">

Do not automatically change every occurrence http:// in bulk. An article may contain a protocol example, a link to an external site that does not load resources, or a technical note. A simple link <a href="http://…">, which opens a separate page, usually does not create Mixed Content by itself. Prioritize the actual resources identified in Network and Console.

6. Setting up HTTPS: start with the server, then fix the links

Before rewriting resource URLs, make sure the server serves the required files over HTTPS. If the certificate works only for the main domain, while media is hosted on a separate subdomain static.example.ru, changing http://static.example.ru on https://static.example.ru will lead to a new error until the subdomain has a valid certificate.

Using a CDN requires an additional check. An external proxy may have a valid public certificate, while the origin server cannot respond over HTTPS. In that case, configure a secure connection from the CDN to the origin before switching URLs and redirects. Changing the protocol without checking the entire chain can cause redirect loops and availability errors.

A practical sequence: backup → check the certificate and DNS → check that the required resources work over HTTPS → fix the source URLs → clear the cache → test pages and forms. Each step has a clear checkpoint. If one feature stops working after the switch, you can roll back the last change without losing control of the entire site.

For content management systems, determine where the URLs are stored: in settings, the database, templates, theme files, or an external service. This matters more than the number of “SSL plugins” installed. A plugin may hide some symptoms, but it does not replace a properly configured server or resource checks.

7. WordPress: checking site addresses and HTTPS settings

On WordPress sites, mixed resources often appear after switching the address from HTTP to HTTPS. Once the certificate is working, open the dashboard and go to Settings → General. In a standard installation, you will see “WordPress Address (URL)” and “Site Address (URL).” If the site's main address has indeed changed to https://example.ru, check that both values use the new scheme. When WordPress is installed in a subdirectory, the values may differ.

If the fields are locked, they may be set by constants WP_HOME and WP_SITEURL in wp-config.php, hosting settings, or WordPress Multisite network settings. Edit the configuration only after making a backup and taking the actual file locations into account. Writing code into someone else's live site without access to a recovery option is bad practice.

Next, check post content, widgets, the header, footer, page builders, theme settings, and plugins. Absolute links to images or scripts often remain in these places. For a single image, open the relevant post and replace the URL. For a large site, the database must be processed carefully to preserve serialized structures.

It is important to distinguish the site address from the browser's actual requests. Even after changing both fields, an old image in a post published years ago may still load over HTTP. Therefore, enabling HTTPS in the admin panel is the start of fixing Mixed Content, not the final check.

8. WP-CLI: safely replacing HTTP links in the database

In the WordPress database, many URLs are stored not only as plain text but also in serialized data. The string length is stored separately there. A direct bulk SQL query REPLACE() can corrupt these structures because strings http and https have different lengths. For controlled replacements, the tool WP-CLIis useful because it accounts for serialization.

Before starting, create a database backup, for example using your hosting tools or a verified command wp db export in a directory with restricted access. Below is an example for a standard single-site WordPress installation where the domain stays the same and only the protocol changes. Run the commands from the WordPress root directory. Replace the address example.ru with the actual one.

# Сначала показать изменения, ничего не сохраняя:
wp search-replace 'http://example.ru' 'https://example.ru'   --all-tables-with-prefix --skip-columns=guid --dry-run

# После проверки результатов и резервной копии:
wp search-replace 'http://example.ru' 'https://example.ru'   --all-tables-with-prefix --skip-columns=guid

# Очистить объектный кэш WordPress, если используется:
wp cache flush

The key --dry-run lets you see the scope of the changes without writing to the database. The parameter --skip-columns=guid excludes the service field containing post GUIDs; changing it is not required for a regular HTTP → HTTPS migration. The flag --all-tables-with-prefix affects all tables with the corresponding prefix, including some plugin tables; on complex sites, it is best to limit the table list after reviewing the report.

A special case is WordPress Multisite: a site network, domain mapping, and network tables require their own migration plan. Do not run commands intended for single-site WordPress on a network without checking the parameters --network, --url and table roles.

URL replacement plugins are also acceptable if they support serialized data and let you perform a dry run first. After the replacement, remove any tool you no longer use to avoid increasing the number of components with access to the database.

Diagram of the WordPress migration to HTTPS and the removal of outdated resource links.
Diagram of the WordPress migration to HTTPS and the removal of outdated resource links. This illustration was created specifically for MC-BARS.COM; it is a diagram, not a real interface screenshot.

9. Nginx: redirecting HTTP to HTTPS and checking resources

For a site on a server running Nginx, two tasks must be treated separately: serving the certificate on port 443 and redirecting visitors from HTTP to HTTPS. The tasks are related, but neither automatically fixes absolute HTTP links in HTML and CSS. Redirecting a page does not mean that an insecure script will always be loaded safely by the browser: some requests are blocked before the browser attempts to follow a redirect.

A simplified example for a domain where HTTPS is already configured in a separate virtual host:

server {
    listen 80;
    server_name example.ru www.example.ru;
    return 301 https://example.ru$request_uri;
}

# Проверка синтаксиса и применение конфигурации:
sudo nginx -t
sudo systemctl reload nginx

This block does not include the certificate configuration, the virtual host on 443, or the WordPress processing rules—they must be configured separately. The main name example.ru needs a working certificate; if HTTPS requests to www.example.ru must be redirected to it, the TLS server must also respond correctly to www, presenting a certificate with a matching SAN.

After applying the change, run curl -I http://example.ru/: the Location header should show an HTTPS URL. Then open the page over HTTPS and check the actual requests. If the theme code still calls http://example.ru/wp-content/themes/..., fix the source link.

10. Apache: redirecting without unnecessary loops

On Apache, a forced switch to HTTPS is often configured with rules in mod_rewrite the virtual host or in .htaccess, if the hosting provider allows it. Before making changes, save the original file, check the active WordPress and CDN redirects, and then make sure the new rule does not duplicate an existing one.

# Пример для .htaccess при прямом HTTPS без сложного прокси:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://example.ru%{REQUEST_URI} [R=301,L]

On a server behind a load balancer, the condition %{HTTPS} !=on may be true even when the visitor is already using HTTPS through an external proxy. This can cause an infinite redirect. In such infrastructure, the configuration must account for trusted proxy headers and the existing setup; do not copy a generic example.

If your hosting provider has a separate “redirect to HTTPS” switch, using it is simpler and safer than creating several conflicting rules. After making the change, check the response status, final URL, preservation of GET parameters, and whether the form and admin pages work.

Important: A redirect is needed for page URLs and SEO, but the root cause of Mixed Content—incorrect resource URLs—must be addressed separately. A redirect alone usually does not solve the problem of a blocked script.

11. CSP upgrade-insecure-requests: when it helps and when it causes problems

The header Content-Security-Policy lets the browser apply security rules when loading resources. The directive upgrade-insecure-requests makes the browser request HTTP resources over HTTPS before sending the request. It can be useful as an additional migration tool for an old site with many remaining links. However, it does not replace fixing the content and cannot provide HTTPS where none is available.

# Концептуальный пример HTTP-заголовка ответа:
Content-Security-Policy: upgrade-insecure-requests

If a file is available only over HTTP and does not respond over HTTPS, the browser will not fall back to an insecure load: the resource simply will not appear. Therefore, introduce the directive only after checking critical scripts, styles, forms, APIs, and external widgets. For a site with dozens of advertising content providers, this may be a significant change.

The directive block-all-mixed-content is obsolete and not recommended in new configurations. It should not be treated as a modern, universal security measure. For strict control over resource loading, also develop a full CSP that restricts sources and test the policies in reporting mode.

It is important to distinguish CSP from HSTS: the former controls loading rules and can automatically upgrade resource requests to HTTPS; HSTS tells the browser to use HTTPS when connecting to a specific site in subsequent connections. The CSP directive is not a direct replacement for HSTS, and HSTS does not rewrite incorrect third-party scripts in the WordPress database.

12. CDN, Cloudflare, and external widgets: separate causes

If the site uses Cloudflare or another CDN, it helps to break the request path into two parts: visitor → CDN and CDN → origin server. Mixed resources have to do with the links served by the HTML and where the browser loads assets from. They can persist even when both parts have valid certificates. Sometimes old HTTP links are cached by the CDN itself and continue to appear after WordPress has been fixed.

First, identify which component owns the problematic URL. Links to example.ru and cdn.example.ru may be managed by separate systems. When switching to HTTPS, make sure both names have working certificates and serve the required files. Check third-party widgets—maps, chats, comments, and video players—separately.

If an external provider offers only an HTTP URL for a script, changing the link automatically is unsafe and usually will not help. The best option is to find an official HTTPS integration, consult the service documentation, replace the outdated widget, or discontinue using it. Proxying someone else's script through your own domain requires assessing the licensing terms, updateability, and risk of executing third-party code.

After fixing the links, it is a good idea to clear the application, web server, and CDN caches, and the browser cache if necessary, then open the page in a private window. This helps rule out a situation where the problem has already been fixed on the origin server but users are still receiving an old copy of the HTML.

13. Why the error appears only on a phone

The mobile version may load a different set of resources. Some WordPress themes use separate JavaScript for the menu, an additional CSS file for small screens, and images from srcset. As a result, the page may look fine on a computer, but buttons may disappear or elements may be positioned incorrectly on a phone.

Run diagnostics with the mobile mode enabled in the developer tools, but also perform the final check on a real device. Pay special attention to responsive images in srcset and <picture>: automatic conversion from HTTP to HTTPS may not work the same way as for a regular <img src>.

The cause may also be hidden in the mobile cache. An optimization plugin may store a separately compressed CSS or HTML version for smartphones. After WordPress is updated, one cache version may be cleared while another remains unchanged. Checking the actual URLs in Network, clearing the mobile cache, and testing different screen widths can help.

Do not remove responsive images just to make the warning disappear. Instead, check the URLs of all variants, whether HTTPS is available on the image domains, and whether the CDN is configured correctly. This will eliminate both the mixed content and the cause of the mobile template issue.

14. Images, fonts, maps, and video: special cases

Images. On older sites, files may be stored in the WordPress media library, in the theme, on a subdomain, or on a separate photo hosting service. If HTTPS is available on the same domain, update the address in the content or template. For a third-party source, check availability, usage rights, and the stability of the new address.

Fonts. External @font-face often points to an absolute HTTP URL embedded in the theme’s CSS. Unlike ordinary images, this resource may be blocked by the browser. If the license permits hosting the font locally, it can be served from your site over HTTPS. Otherwise, use the provider’s official secure CDN.

Maps. The error often occurs in older iframe code or an API script. Official mapping services offer supported embedding options; get the address from the provider’s current interface. Mechanically converting any old link to HTTPS does not guarantee that the embed will work.

Video and audio. For some media, the browser automatically upgrades to HTTPS, but incompatibility, CORS, and the unavailability of a secure version can still prevent loading. The behavior of a video embedded in an external iframe differs from that of a file loaded directly via <video>. Check the resource type itself, not just its file extension.

Forms. If an HTML form sends data over http://, there is a risk of information disclosure; browser behavior depends on the specific request and circumstances. Any form that collects personal data should send it to a controlled HTTPS address, with proper server-side validation and protection against abuse.

15. What Not to Do: Risky “Quick Fixes”

The most common mistake is disabling security checks in the browser or asking visitors to allow insecure resources. This only masks the problem on one device and leaves users without the expected protection. It is not a solution for a public website.

The second mistake is globally replacing every instance of http on https in an SQL dump, templates, and source files. This can corrupt serialized WordPress fields, code examples in articles, URIs for external services, and system values. Only verified resource addresses should be changed, and database tools should account for the data structure.

The third mistake is assuming that an HTTP → HTTPS redirect will necessarily rescue the loading of any script. Some types of Mixed Content are blocked before an HTTP request is made, so the server never gets a chance to respond with a redirect. The URL itself must be corrected in the site’s HTML, CSS, JavaScript, or database.

The fourth mistake is installing multiple “force HTTPS” plugins at the same time. Each may rewrite links, set headers, set cookies, and affect redirects. When their rules overlap, it is difficult to identify which component is causing the failure. Clear server configuration and fixing the original sources are usually more reliable.

The fifth mistake is adding HSTS with a long max-age before the migration is complete. If subdomains are unprepared, certificates are invalid, or infrastructure errors occur, this can make restoring access more difficult. Implement HSTS only after HTTPS is working reliably and you have a clear testing plan.

16. Step-by-Step Mixed Content Fix Checklist

It is convenient to divide the work into four stages: diagnosis, fixing the source, verification, and prevention. This approach works for both a small WordPress site and an information portal with many templates.

  1. Verify HTTPS. Check that the certificate is valid, covers the domains, and that key pages load correctly.
  2. Create a backup. Save the files, database, server rules, and CDN settings.
  3. Open Console and Network. Collect the addresses of HTTP resources that are blocked or automatically upgraded.
  4. Identify the source. For each URL, identify the specific post, template, CSS, plugin, widget, or external service.
  5. Check the HTTPS version. Make sure the file is available at the secure address and returns the expected content.
  6. Fix the address. Use a relative URL for your own resource or a verified external service’s full secure URL.
  7. Update the database carefully. For WordPress, use WP-CLI with --dry-run and take serialized data into account.
  8. Check redirects. Make sure that switching from HTTP does not create loops and leads to the correct canonical address.
  9. Clear caches. WordPress, optimization tools, server, CDN, local browser.
  10. Check templates. Homepage, article, products, cart, account, form, responsive version.
  11. Check functionality. Submitting requests, search, menu, payment, file uploads, and third-party integrations.
  12. Repeat the audit. Make sure there are no insecure requests and record the results for future updates.

It is useful to keep this list with the change log. That way, when the theme is updated or a new widget is added, it will be clear which checks are required. Testing after importing old content is especially important: migrating from another CMS often reintroduces absolute HTTP links.

17. Mixed Content and SEO: What Really Affects Your Site

Mixed Content should not be treated as a special “search engine penalty” that automatically occurs whenever an HTTP resource is present. The main risk is practical: blocked scripts and styles break the interface, make forms harder to use, complicate troubleshooting, and reduce the quality of the user experience. If the browser cannot render important content, this can indirectly affect page accessibility and how it is perceived.

When switching from HTTP to HTTPS, also check canonical, the XML sitemap, internal links, redirects, images, links in metadata, and analytics settings. The canonical address should point to the preferred HTTPS URL. If the goal is a clean indexing structure, do not leave HTTP pages in the sitemap when they have long been redirecting to HTTPS.

Analytics systems, feedback services, and advertising scripts require separate checks. If insecure JS is blocked, statistics may be incomplete, and forms may stop recording submissions. Fixing Mixed Content here is about measurement accuracy and user experience, not just the security indicator.

After making technical fixes, it is useful to check the site in webmaster tools and perform a standard crawl of internal links. Make sure that the actual content URLs are preserved, there are no endless redirects, and there are no widespread CSS/JS loading errors. This is more sensible than waiting for a promised “ranking boost” from a single HTTPS setting.

18. FAQ: Answers to Common Questions

Does Mixed Content mean the SSL certificate has expired?

No. The certificate may be valid. The error concerns resources that an HTTPS page tries to fetch over HTTP. An expired certificate causes separate TLS warnings.

Why does the browser display an image even though the code specifies HTTP?

Many browsers automatically upgrade ordinary image requests to HTTPS if possible. But this substitution does not cover every case: srcset, requests to IP addresses, and other cases may be blocked. It is better to replace the original URL.

Is setting up a 301 redirect to HTTPS enough?

No. Redirecting pages is necessary, but the browser may block insecure scripts and styles before making a network request. Fix resource links at their source.

Do I need a paid certificate to fix Mixed Content?

No. A free DV certificate with correctly configured TLS can provide a secure connection. Mixed Content is fixed by correcting resources and infrastructure, not by buying a different certificate class.

Why does the error remain after replacing the URL in the WordPress database?

The link may be in a theme file, third-party JavaScript, CSS, a saved cache, or CDN settings. Console and Network show the actual URL and help identify what initiated the request.

Can the problem affect only one page?

Yes. A particular post may contain an old image, video, or embedded code. Other pages will remain unaffected if they do not load that resource.

Can I enable CSP upgrade-insecure-requests and do nothing else?

This mode can help during migration, but it does not create HTTPS resources that are unavailable, may disrupt old integrations, and can hide incorrect links in source files. Test it first and fix the root cause.

How do I check the site after fixing it?

Reopen Console and Network, visit the homepage and internal pages, check the mobile version, forms, dynamic components, images, and cached CDN responses. For large sites, an automated crawl that searches for HTTP resources is useful.

19. Summary: Reliable HTTPS Without Mixed Content

Mixed Content is a conflict between a secure HTTPS page and resources that try to load over HTTP. Sometimes the browser automatically upgrades an image address, and sometimes it blocks important JavaScript, CSS, or an iframe. Since behavior depends on the request type, fixing the issue should start with diagnosing the specific URL, not installing a one-size-fits-all plugin.

For WordPress, two steps are especially important: checking the main HTTPS address and safely replacing outdated links in the database while accounting for serialization. Nginx and Apache need a correctly configured page redirect, but this does not replace fixing links in HTML, templates, and scripts. For CDNs and third-party services, check certificates, HTTPS availability, and caching separately.

A stable result is achieved when all important resources load securely, pages contain no blocked requests, and forms and the mobile interface continue to work. It is advisable to repeat this check after every major site update.

Sources and Official Documentation

The technical recommendations are based on documentation from browsers, WordPress, and Cloudflare. Before changing server settings, check the documentation for your software version.

  1. MDN: Mixed content
  2. MDN: CSP upgrade-insecure-requests
  3. MDN: block-all-mixed-content (deprecated)
  4. WordPress: migration recommendations
  5. WP-CLI: search-replace reference
  6. Cloudflare: Mixed Content
  7. web.dev: fixing Mixed Content

Related Guides

Additional guides

Other articles can help you verify certificate installation and understand HTTPS configuration.

DV, OV and EV · SSL on WordPress · SSL on Beget

IP Geolocation by DB-IP