Saltar al contenido
Skillpedia
Seguridad75 mil · #2878

https-downgrade

Qué hace

Esta skill revisa los enlaces y las direcciones de recursos de un sitio seguro en busca de URL http sin cifrar. Es para desarrolladores y dueños de sitios que están pasando un sitio a HTTPS.

Cuándo usarla

  • ✓Cuando pasas un sitio a HTTPS y los enlaces antiguos todavía usan http.
  • ✓Cuando los navegadores avisan de contenido mixto en tus páginas.
  • ✓Cuando las direcciones fijas en las plantillas usan http en lugar de https.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/https-downgrade/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes encontrar enlaces en mi sitio HTTPS que todavía apunten a direcciones http?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente analiza los enlaces y las etiquetas de recursos en busca de direcciones http. Sugiere cambiar los enlaces internos a rutas relativas o https, y comprobar si los sitios externos admiten HTTPS.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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

Preguntas frecuentes

¿Qué es el contenido mixto?

Ocurre cuando una página segura carga o enlaza recursos http inseguros, lo que los navegadores pueden advertir o bloquear.

¿Qué enlaces son más urgentes?

La skill dice que las imágenes, los scripts y las hojas de estilo con direcciones http provocan advertencias activas, así que son los más importantes.

¿Qué pasa con los sitios externos sin HTTPS?

La skill indica comprobar si el destino admite HTTPS y revisarlo antes de cambiar el enlace.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
75 mil
Posición en el ranking
#2878
Licencia
MIT
Actualizada
31/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas