Saltar al contenido
Skillpedia
SEO75 mil · #2990

redirect-chains

Qué hace

Esta skill revisa los enlaces entre páginas de tu sitio y actualiza los que apuntan a direcciones que redirigen. Es para dueños de sitios que han cambiado sus URL y quieren que sus enlaces internos estén limpios.

Cuándo usarla

  • ✓Cuando pides al agente encontrar enlaces internos que apuntan a páginas redirigidas.
  • ✓Cuando terminas una migración de URL y quieres actualizar tus propios enlaces a las direcciones nuevas.
  • ✓Cuando las páginas enlazadas desde tus menús o artículos cargan después de una redirección y quieres que carguen directamente.

Link de la skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/redirect-chains/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/redirect-chains/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

“Después de cambiar mis URL, algunos enlaces de mi sitio siguen pasando por redirecciones. ¿Puedes actualizarlos para que apunten a las páginas finales?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente revisa cada enlace interno del sitio y lo sigue para ver si redirige. Luego actualiza la dirección del enlace a la página final, y mantiene la redirección para los enlaces externos que todavía usan la dirección antigua.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Link directly to final destination URLs

Internal links that point to redirect URLs add latency, waste crawl budget, and pass less PageRank to the destination than a direct link would—reducing the ranking potential of linked pages.

Quick Reference

  • Internal links should point directly to the final destination URL, not to a URL that redirects
  • Each redirect in a chain dilutes the PageRank passed through it
  • Update internal links after URL migrations to point to the new URLs
  • Use 301 redirects for permanent moves, but then update source links

Check

Crawl internal links across the site. For each <a href='...'> tag, follow the URL and check the HTTP response code. Flag any internal link that resolves to a 301 or 302 redirect rather than a direct 200 response. Report the source page, linked URL, and the final destination URL after following the redirect.

Fix

For each internal link pointing to a redirect URL: update the href attribute to point directly to the final destination URL (the 200-status URL after following all redirects). Keep the redirect in place for external links, but update all internal links to point directly to the canonical-url destination.

Explain

When Googlebot follows a link to a URL that then redirects to another URL, PageRank is partially lost at each hop. Google has stated that redirects dilute PageRank. Additionally, linking to redirect URLs wastes crawl budget since Googlebot must make multiple requests to reach the final content. Updating internal links to point directly to destination URLs passes full PageRank and improves crawl efficiency.

Code Review

For each internal <a href='...'> link, follow the URL and check the HTTP response code. If the response is 301 or 302, record the Location header and continue following. Report all internal links that resolve via one or more redirects before reaching a 200 response. Include: source page, link href, each redirect URL in the chain, and final destination URL.


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

Rule page: https://frontendchecklist.io/rules/seo/redirect-chains

Preguntas frecuentes

¿Debo quitar las redirecciones?

No. La skill indica que hay que conservarlas para los enlaces externos y actualizar los enlaces internos de tu propio sitio.

¿Por qué actualizar los enlaces internos?

Los enlaces a direcciones redirigidas añaden demora y transmiten menos valor de posicionamiento que los enlaces directos.

¿Qué resultado me dará el agente?

Informa de la página de origen, la dirección enlazada y el destino final después de la redirección.

Detalles

Descripción original del autor

Use when auditing internal link structure after a URL migration, domain change, or site rebuild. Applies to any site that has had redirects in place for more than a month.

repo: thedaviddias/Front-End-Checklist

Popularidad

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

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas