How to Find and Fix Broken Links in WordPress
WordPress sites change over time as pages are updated, moved, or removed, and links can break along the way.
For site owners and visitors alike, broken links can make useful content harder to reach and weaken the experience of browsing a site.
Keeping links working helps preserve those connections between pages.
Understanding how to find and fix broken links in WordPress is an important part of maintaining a reliable site.
Find Broken Links in WordPress With a Plugin
A broken-link checker plugin can scan your WordPress posts and pages for links that no longer work. Link scanning helps you find outdated URLs, missing pages, and images that no longer load, without checking every post by hand.
A broken-link checker scans WordPress content for outdated URLs, missing pages, and images that no longer load.
Set up a plugin
- In your WordPress dashboard, open Plugins > Add New.
- Search for a broken-link checker, then review its update history and compatibility before installing it.
- Select Install Now, then Activate.
- Open the plugin’s settings and choose which content types it should check, such as posts, pages, or comments.
Plugin setup varies, so follow the tool’s instructions and check its scan schedule. A large site may take time to scan. When results appear, review each link before changing it. Some links may work only when you’re signed in or connected to a specific network.
Check Broken Links Without a Plugin
If you’d rather not add a plugin, you can check links manually with your browser and WordPress editor. A Manual Link Audit works well for a small site, though it takes longer as your content grows.
Check links by hand
- In WordPress, open a page or post in the editor and review each linked phrase. Note the destination URL, then open it in a new browser tab.
- Check that the page loads and shows the content you expect. Look for errors, redirects to unrelated pages, or links that lead to the wrong place.
- Use Browser Developer Tools to inspect a page’s links. Right-click the page, select Inspect, then search the Elements panel for
<ato review link destinations.
Keep a simple list of pages you’ve checked, so you can track your progress. This method won’t scan your whole site automatically, so check high-traffic pages first.
Update or Remove Broken Links
Once you find a broken link, decide whether to replace it with a working destination or remove it. In WordPress, open the post or page in the editor, select the linked text, and enter a verified address. Update internal links when you move content or change a page’s URL.
If the linked resource no longer exists and no useful alternative fits, remove the link while keeping the surrounding text readable.
Before saving, check these details:
- Open the new destination to confirm it loads.
- Match the link to the words readers click.
- Keep the text if it still makes sense without a link.
- Remove dead URLs from buttons, images, and menus too.
- Preview the page, then test the link on your site.
Save your changes and revisit the page later if the destination may change. Don’t replace a link with an unrelated page just to keep it active.
Redirect Outdated URLs to the Right Pages
When a page has moved, or its URL has changed, set up a redirect so visitors and search engines reach the new page instead of a dead link.
Choose a permanent 301 redirect when you’ve replaced a page for good. Use a temporary redirect only when the change won’t last.
Redirect old URLs
- Find the broken URL in your link checker or WordPress redirect plugin.
- Map Relevant Destinations by matching each old URL to the closest useful page. For example, point an outdated product page to its current replacement, not your homepage.
- Add the redirect in your plugin or server settings. Enter the old path and the new URL, then save.
- Test the old link in a private browser window. Confirm it opens the right page without a redirect loop or error.
Keep redirects focused, and remove ones that no longer serve a clear purpose.
Prevent Broken Links in WordPress
Redirects can repair old links, but preventing URL changes and catching link errors early will save you future cleanup.
Use these habits to keep your WordPress links working:
- Plan URL changes: With URL Change Planning, list affected pages before editing a slug or changing your permalink structure. Set redirects for important URLs.
- Check links regularly: Schedule Regular Link Audits monthly or after major site updates. Test key pages, menus, and downloads.
- Use stable URLs: Link to your own pages with clear, consistent paths. Avoid temporary file locations.
- Review links before publishing: Open each new link, confirm it points to the right page, and check for typos.
- Update links after edits: When you move or delete content, search your site for links to the old URL and replace them.
Keep a simple record of changes, so you can spot patterns and fix issues sooner.
Frequently Asked Questions
What Causes Broken Links on a WordPress Website?
Broken links occur when you change WordPress URLs, delete pages, move content, or mistype addresses. You’ll also see them after changing domains, removing products, or linking to external pages that later disappear.
Can Broken Links Hurt My Website’s SEO Rankings?
Yes, broken links can hurt your SEO ranking impact indirectly: they frustrate visitors, waste crawl budget, and make your site seem poorly maintained. Fixing them helps you preserve user trust and allow search engines to discover important pages.
How Often Should I Check My Website for Broken Links?
Check your website for broken links monthly, and after major updates or migrations. Your How often to audit links plan can guide a broken link monitoring schedule; review high-traffic pages weekly to catch problems quickly.
Do Broken Links Affect Website Accessibility?
Yes, broken links can harm accessibility by blocking tasks and confusing visitors. You’ll support Accessible navigation and improve screen reader usability when you use descriptive link text, check links regularly, and fix or remove broken ones promptly.
Are Internal Broken Links Worse Than External Broken Links?
Internal broken links are often worse because you control them and they disrupt navigation across your site. Their User experience and SEO impact can be significant, but external broken links also frustrate visitors and weaken trust.
Conclusion
Broken links can frustrate visitors and make it harder to find useful pages. Check your WordPress site with a plugin or manual review, then update, remove, or redirect each broken URL. Test your changes to confirm links lead to the right place. To prevent new problems, use clear URLs and review important links after changing pages or moving content. A quick check every few months can help you keep your site useful and easy to navigate.
- Broken link checker
- Link maintenance
- WordPress SEO
About the author
Vladimir Mrkela
Senior WordPress Developer
I’m a senior WordPress developer and co-founder of Pixel Industry. I’ve spent more than 12 years building websites, custom plugins, and integrations for all kinds of projects. I enjoy working on complex architecture, solving tricky problems, and sharing what I learn along the way.