Same-site image or file
- Fix
- Use a root-relative path such as
/images/logo.svg, or a valid HTTPS URL. - Check
- The request resolves to the correct file over HTTPS.
Find HTTP images, scripts, styles, and embeds on HTTPS pages, fix the source URL, and verify the resource loads securely.
A page has mixed content when its HTML loads over HTTPS but a subresource loads over HTTP. Browsers may block scripts or other active resources, and some may auto-upgrade or block images. Find the insecure request in DevTools or page source, change it to a working HTTPS URL or remove it, and recheck the affected page. An ordinary HTTP link to another page is usually not mixed content.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
http://. Active resources such as scripts and styles can affect the whole page; image and media requests are passive but can still expose or alter content in transit.Open DevTools and check the Console and Issues tabs for mixed-content errors or auto-upgrade messages. The browser reports resources for the page currently open, so repeat this on affected templates or crawl the site for HTTP resource URLs.
For each warning, note the page where it occurs, the resource URL, and the element or script that requested it. A third-party embed may request additional HTTP assets after the initial markup loads.
Search source code and stored content for http://, focusing on src, stylesheet URLs, CSS url(), iframe sources, and fetch endpoints. Check theme files, rich-text content, and old absolute URLs in imported media.
Open the same resource with https://. If it loads correctly, update the source URL. If the console says Chrome automatically upgraded the request, web.dev says you can safely change http:// to https:// in your code. If it does not, choose a secure alternate host, host the file yourself when you have rights, or remove the resource.
/images/logo.svg, or a valid HTTPS URL.For a one-off page, changing the resource URL may be enough. For a site migration, check HTML, CSS, JavaScript, canonical tags, redirects, hreflang, and sitemap generation. A global search-and-replace can break external links or provider-specific paths, so scope the change to fields that load subresources.
A Content Security Policy upgrade-insecure-requests directive can act as a safety net by asking browsers to upgrade requests. It does not make an unavailable HTTPS resource appear, and its failure can leave an asset unloaded. Fix hard-coded URLs at their source; use policy reporting when you need to find requests across a large site. web.dev notes that upgrade-insecure-requests goes further than the browser's own auto-upgrading and cascades into iframe documents, but if the resource is not available over HTTPS the upgraded request fails and the resource does not load.
Content-Security-Policy-Report-Only: default-src https: 'unsafe-inline' 'unsafe-eval'; report-uri https://example.com/reportingEndpointSend it as a response header. Each time a subresource loads over HTTP, the browser reports the page URL and the subresource URL to your endpoint. web.dev lists two caveats: users must visit the page in a browser that understands the header, and you only get reports for pages your users visit, so low-traffic pages may take a while. It also notes report-uri is being deprecated in favor of report-to. If a platform gives you no header access, web.dev suggests a site crawler instead.
A console report only covers the page you opened, and a shared CMS component can emit the same URL across many routes.
Confirm the request uses HTTPS, returns the expected asset, and does not appear as blocked in DevTools.
A secure embed can still load a nested HTTP resource. Inspect the request waterfall and the vendor's current embed configuration.
Google lists insecure dependencies other than images among issues that can affect its HTTPS canonical preference. Align the serving certificate, canonical, redirects, and sitemap too.
Browsers may upgrade or block different resource types. The source page should request the secure URL directly.
Once the page has no insecure subresource requests, revisit any expired certificate or HTTP-only page separately. A valid page certificate does not automatically upgrade resource URLs embedded in that page.
2 questions people ask next, answered from the sources on this page.
Usually no. An ordinary anchor navigates the browser to another page; mixed content refers to a subresource loaded into the current HTTPS page. Check scripts, images, styles, fonts, frames, and unusual scripts that load a link target in-page.
It can instruct browsers to upgrade insecure requests, but it cannot create a secure version of a resource that is unavailable over HTTPS. Correct the source URLs and verify each asset loads.
Run the free audit, then approve the fixes. Every change can be undone.