Finding broken links in WordPress
WordPress makes publishing easy, and that is also why links break. Posts link to other posts, menus point to pages and media files get replaced. When one of them moves or is removed, the links to it keep pointing to the old address.
Why WordPress sites collect broken links
Most broken links come from changes far from the page that links to them: a renamed slug, a deleted PDF, a plugin that was switched off. Nothing on the linking page tells you.
How to check a page
Paste the address of a post or page above and select Check links. PerfBeeBot fetches the page once, from outside your site, reads its HTML and checks its first 100 links. Broken links are listed first.
How to fix what you find
Update the link to the new address, add a redirect from the old one, or remove the link. Then run the check again to confirm.
6 common causes
- A plugin or theme was removedShortcodes and widgets it added leave links to pages that no longer exist.
- Permalinks changedOld post URLs stop working when the permalink structure changes without redirects.
- Media was deletedPDFs and images removed from the Media Library are still linked from posts.
- A page was renamedThe slug changed, and menus or posts still point to the old one.
- An external site movedLinks to partners, manuals or sources go to pages that are gone.
- Staging links went liveContent copied from a staging site still points to its address.