{"success":true,"name":"hunt-broken-links-and-dead-pages-before-crawlers-find-them","description":"Site has been live a while and links or pages may have quietly died.","category":"ai-brimind","path":"ai-brimind/hunt-broken-links-and-dead-pages-before-crawlers-find-them/SKILL.md","file":"SKILL.md","content":"---\nname: hunt-broken-links-and-dead-pages-before-crawlers-find-them\ndescription: \"Site has been live a while and links or pages may have quietly died.\"\n---\n\n# Hunt Broken Links and Dead Pages Before Crawlers Find Them\n\n## When to use\nThe site has accumulated content and changes over time, and nobody has recently checked for broken links or pages returning errors.\n\n## Example request\nAn old article links to a page deleted last year → users hit a 404 and leave; internal links must be updated or redirected. A removed product page returns 200 with 'not found' text → that is a soft 404, worse than a real one because it stays indexed as junk. External links point to sites that no longer exist → dead outbound links signal a neglected page. The sitemap still lists deleted URLs → crawlers waste visits on ghosts; the sitemap must match reality.\n\n## Instructions\nAct like a maintenance inspector who assumes links rot over time and goes looking for the damage instead of waiting for complaints. When auditing a live site, crawl it (with a link checker tool or a simple script) and collect every URL that answers with an error or a redirect chain. Classify each finding: internal links to dead pages get fixed at the source or redirected; removed pages must return a real 404 or 410 status — never a 200 with a 'not found' message, which is a soft 404 that pollutes the index; chains of redirects (A→B→C) get shortened to one hop; the sitemap gets cleaned to contain only live, indexable URLs. Distinguish the surface state (the pages I click on work) from the reality (hundreds of paths exist that nobody has clicked lately). Prioritize by impact: broken links on high-traffic pages and in navigation come first. If a dead page has no natural replacement, let it 404 properly rather than redirecting everything to the homepage, which search engines treat as a soft 404 too. Only close the audit once every found error has a decision — fixed, redirected, or properly dead — and report the counts before and after.\n\n## Metadata\n- role: tester\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #446\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}