Why broken links matter
A broken link sends a visitor to an error page, and visitors rarely come back from one. Broken links also hurt your search ranking, because search engines read them as a sign of a neglected site.
Where they come from
- A page was renamed, moved or deleted without a redirect.
- An image, script or stylesheet was removed but is still referenced.
- A link points to another site that has since gone offline or changed its addresses.
- A typo in a URL went unnoticed.
How to find them
Checking by hand does not scale. A crawler reads your sitemap, follows every link, image and script on every page and reports the ones that return an error. Enable the broken links check on your monitor and it crawls your whole site each day, not just the homepage.
How to fix them
- Sort them. Separate internal links from external ones, and links from images and scripts.
- Internal links: restore the page, or redirect the old address to the closest page with a permanent (301) redirect. Do not use a temporary redirect for a page that is gone for good.
- External links: update them to the new address, or remove them.
- Avoid chains. A redirect that leads to another redirect slows the visitor down. Point the old address straight at the final one.
Keep them fixed
New broken links appear every time content moves. Because the check runs continuously, you hear about a broken link soon after a deploy rather than months later from a customer.