Pular para o conteúdo
Skillpedia
SEO75 mil · #2990

redirect-chains

O que ela faz

Esta skill verifica os links entre as páginas do seu site e atualiza qualquer um que aponte para endereços que redirecionam. Ela é para donos de sites que mudaram URLs e querem que seus links internos fiquem limpos.

Quando usar

  • ✓Quando você pede ao agente para encontrar links internos que apontam para páginas redirecionadas.
  • ✓Quando você terminou uma migração de URLs e quer atualizar seus próprios links para os novos endereços.
  • ✓Quando páginas linkadas nos seus menus ou artigos carregam após um redirecionamento e você quer que carreguem direto.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/redirect-chains/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Depois que mudei meus URLs, alguns links do meu site ainda passam por redirecionamentos. Você pode atualizá-los para apontar para as páginas finais?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente verifica cada link interno do site e o segue para ver se ele redireciona. Depois atualiza o endereço do link para a página final, mantendo o redirecionamento para links externos que ainda usam o endereço antigo.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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

Perguntas frequentes

Devo remover os redirecionamentos?

Não. A skill diz para mantê-los para links externos e atualizar os links internos do seu próprio site.

Por que atualizar os links internos?

Links para endereços que redirecionam aumentam o atraso e transmitem menos valor de ranqueamento do que links diretos.

Que resultado o agente vai me dar?

Ele informa a página de origem, o endereço linkado e o destino final após o redirecionamento.

Detalhes

Descrição original do 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

Popularidade

Estrelas no GitHub
75 mil
Posição no ranking
#2990
Licença
MIT
Atualizada em
31/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas