Transport & HTTPS
Mixed content
Load every script, style, image, and frame over https:// on an HTTPS page.
Why it matters
One http:// image is minor, but one http:// script can be changed in transit and run with full access to the page.
Browsers already block the most dangerous cases, which means broken features for users. Fixing the URLs restores both safety and function.
How to fix it
-
Find http:// URLs in scripts, styles, images, and iframes
-
Replace them with https://
-
Use Content-Security-Policy: upgrade-insecure-requests as a safety net
Prompt for an AI assistant
Copy the text below and paste it into an AI assistant.
You are the person improving this website. Check the item below and fix it if it applies to the site. Item: Mixed content Summary: Load every script, style, image, and frame over https:// on an HTTPS page. Steps: 1. Find http:// URLs in scripts, styles, images, and iframes 2. Replace them with https:// 3. Use Content-Security-Policy: upgrade-insecure-requests as a safety net References: - Mixed content (MDN) (https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content) - Why HTTPS matters (web.dev) (https://web.dev/articles/why-https-matters) Constraints: - Keep the existing design and tone of voice. - Show the file or section you changed and the suggested final wording. - Do not decide ambiguous points alone; give options and a recommendation. - Do not change anything outside the listed item.
Checked by
-
vuln
Public exposure checks
Related checks
-
HTTP to HTTPS redirect
Redirect http:// requests to the same URL on https:// with a 301.
-
Content-Security-Policy (CSP)
Send a Content-Security-Policy that limits where scripts, styles, and frames can come from, instead of allowing everything.
References
-
Mixed content (MDN)
MDN (Mozilla) reference(Official)
-
Why HTTPS matters (web.dev)
web.dev (Google) guide(Reference)
Check your site now
Enter a URL and find what is missing before launch, for free.
Run audit