Zum Inhalt springen
Skillpedia
Sicherheit75k · #2878

https-downgrade

Was er macht

Dieser Skill prüft die Links und Ressourcenadressen einer sicheren Website auf unverschlüsselte http-URLs. Er ist für Entwickler und Website-Betreiber gedacht, die eine Website auf HTTPS umstellen.

Wann du ihn nutzt

  • ✓Wenn du eine Website auf HTTPS umstellst und alte Links noch http verwenden.
  • ✓Wenn Browser auf deinen Seiten vor gemischten Inhalten warnen.
  • ✓Wenn fest eingetragene Adressen in Vorlagen http statt https verwenden.

Link zum Skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/https-downgrade/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/https-downgrade/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du Links auf meiner HTTPS-Website finden, die noch auf http-Adressen zeigen?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Dein Agent durchsucht Links und Ressourcen-Tags nach http-Adressen. Er schlägt vor, interne Links auf relative oder https-Pfade umzustellen, und prüft, ob externe Websites HTTPS unterstützen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Do not link from HTTPS to HTTP

Linking from a secure HTTPS page to an HTTP destination creates a mixed content situation that browsers warn users about or block entirely. It also means the linked page does not receive the ranking signal passed through the HTTPS referrer. For internal links, it can cause redirect loops or broken navigation.

Quick Reference

  • All internal links on an HTTPS page must point to HTTPS URLs — HTTP links trigger mixed content warnings
  • External links to HTTP destinations break the security chain and may be blocked by browsers
  • Use protocol-relative URLs (//example.com) or absolute HTTPS URLs — never hardcode http:// for internal links

Check

On pages served over HTTPS, scan all <a href> attributes for URLs starting with http:// (not https://). Flag: (1) Internal links using http:// that should use https:// or a relative path. (2) External links to third-party sites still on HTTP (flag for review — the destination may not support HTTPS). (3) Resource links (<img src>, <script src>, <link href>) pointing to HTTP URLs — these cause active mixed content warnings.

Fix

  1. Audit all <a href> values in templates and content for http:// links.
  2. For internal links: change http://yourdomain.com/path to /path (relative) or https://yourdomain.com/path.
  3. For external links: check if the destination supports HTTPS; update to https:// if so.
  4. For resource links (scripts, styles, images): always use https:// or protocol-relative //.
  5. In your CMS or database: run a search-and-replace to update stored HTTP URLs to HTTPS.
  6. Set up a server-level redirect from HTTP to HTTPS to catch any remaining HTTP URLs in user-generated content.
  7. Verify with: grep -r 'href="http://' ./templates/ or use a link auditing tool.

Explain

HTTPS is a confirmed Google ranking factor. When an HTTPS page links to HTTP resources or destinations, it downgrades the secure context, triggering browser warnings and potentially blocking content. For internal links, HTTP destinations mean an extra redirect (HTTP→HTTPS) on every navigation, slowing page loads. The ranking signal passed via the link's referrer is also diminished when crossing from HTTPS to HTTP.

Code Review

Parse all <a href>, <img src>, <script src>, and <link href> attributes. Flag any value starting with http:// (not https:// or a relative path). In JavaScript frameworks, also check for http:// in fetch(), axios, or router navigation calls. Report the count of HTTP links by category (internal, external, resource).


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/https-downgrade

Häufige Fragen

Was sind gemischte Inhalte?

Eine sichere Seite lädt unsichere http-Ressourcen oder verlinkt auf sie. Browser können davor warnen oder sie blockieren.

Welche Links sind am dringendsten?

Der Skill sagt, Bilder, Skripte und Stylesheets mit http-Adressen lösen aktive Warnungen aus und sind deshalb am wichtigsten.

Was ist mit externen Websites ohne HTTPS?

Der Skill sagt, zu prüfen, ob das Ziel HTTPS unterstützt, und den Link vor einer Änderung zu überprüfen.

Details

Originalbeschreibung des Autors

Use when auditing a site's internal and external links for protocol consistency, migrating a site from HTTP to HTTPS, or reviewing hardcoded URLs in a codebase that may use `http://` instead of `https://`.

repo: thedaviddias/Front-End-Checklist

Beliebtheit

GitHub-Sterne
75k
Platz im Ranking
#2878
Lizenz
MIT
Aktualisiert
31.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills