SEO & Analytics

How to Fix Broken Links in WordPress

Find and repair 404 errors without hurting site performance

Broken Links in WordPress quietly damage your SEO, frustrate visitors with 404 errors, and waste valuable crawl budget. The good news is that you can systematically find and fix them using a mix of plugins, Google Search Console, and smart redirects.

In this step by step guide, you will scan your site for broken links, fix them directly inside the WordPress editor, add 301 redirects for removed content, and set up a simple maintenance routine so broken links never pile up again.

What You Need to Start

  • Administrator access to your WordPress dashboard.
  • A recent full site backup or snapshot (see your Beginner guide to WordPress speed optimization if you need help).
  • Optional but recommended access to Google Search Console for your domain.
  • Basic understanding that a 404 error means “page not found” and a 301 redirect means “moved permanently”.

Step 1: Set up a broken link scanner

First, you need a reliable way to discover where broken links live on your site. A dedicated broken link checker plugin can scan internal and external URLs without overloading your server.

  1. Log in to your WordPress admin dashboard.
  2. Go to Plugins » Add New.
  3. In the search box, type Broken Link Checker.
  4. Locate a trusted plugin such as Broken Link Checker by AIOSEO and click Install Now, then Activate.
  5. After activation, look for the plugin menu (for example Link Checker or All in One SEO » Broken Links).
  6. Start a scan or ensure automatic scanning is enabled so the plugin crawls your posts, pages, and other content.
WordPress admin interface showing the WPMU DEV cloud-based Broken Link Checker plugin with 102 detected broken links.
The WPMU DEV Broken Link Checker plugin interface in WordPress, displaying broken link statistics and features.
Avoid running very frequent scans on slow shared hosting. SaaS based link checkers that process scans off your server are usually safer for performance than heavy on site scanners.

Wait for the scan to finish. You should see a list of URLs with a status like 404 or Timeout, plus the posts or pages where each broken link appears. Once you see that report, your scanner is working correctly.

Step 2: Find broken links with Google Search Console

Plugins work inside WordPress, but Google Search Console shows which URLs Google itself is hitting and seeing as errors. This helps you prioritize the broken links that matter most for search.

  1. Open Google Search Console in your browser and select your property.
  2. In the left sidebar, click Indexing then Pages (or Pages under the appropriate section in the new interface).
  3. Filter for issues such as Not found (404) or similar error types.
  4. Click any error type, then scroll down to the list of affected URLs.
  5. Select one URL and use the Inspect URL or View crawled page option to confirm it is truly broken.
  6. Copy each important broken URL into a working list you will fix in WordPress.
Prioritize URLs that previously received traffic or backlinks and any pages that should still exist but were moved or renamed. These are the best candidates for redirects rather than simple removal.

To verify success later, you will come back to this report. Once you have fixed links and created redirects, Google should gradually remove those 404 URLs from the error list after it recrawls your site.

Step 3: Fix broken links in WordPress content

With your list of problem URLs ready, the next step is to update or remove the individual links inside your posts, pages, menus, and widgets. This fixes the broken paths visitors actually click.

  1. In your WordPress dashboard, go to Posts » All Posts or Pages » All Pages.
  2. Use the search box to find the post or page listed in your broken link report.
  3. Click the title to open it in the editor (Classic Editor or block editor).
  4. Highlight the anchor text of the broken link, then click the link icon (Insert/edit link).
  5. Update the URL field with the correct working URL, or delete it to unlink if the destination is no longer needed.
  6. Click Apply or press Enter, then click Update to save the post or page.

If the broken link points to another page on your own site, consider whether the anchor text and surrounding copy are still accurate. Use this as a chance to strengthen your internal linking strategy. For a deeper walkthrough, review the Internal linking WordPress beginners.

To verify each fix, open the updated post in a new browser tab and click the link yourself. It should load the correct page without errors or endless redirects.

Step 4: Redirect deleted or moved URLs

Sometimes the content a link points to is gone or has moved to a new URL. In those cases, the best solution is a 301 redirect so both users and search engines are sent to the new, most relevant page.

  1. From your WordPress dashboard, go to Plugins » Add New and search for a redirect manager plugin (for example Redirection or your SEO plugin’s redirect module).
  2. Click Install Now, then Activate.
  3. Open the plugin screen such as Tools » Redirection or SEO » Redirects.
  4. In the Source URL or From field, paste the old broken URL (for example /old-page/).
  5. In the Target URL or To field, paste the new, relevant URL (for example /new-page/).
  6. Set the redirect type to 301 Moved Permanently and click Add Redirect or Save.

If you manage redirects at the server level, you can also add a simple rule in your .htaccess file on Apache based hosting:

Redirect 301 /old-page/ https://example.com/new-page/
Always back up your .htaccess file before editing it, and test redirects immediately. A single typo can break your entire site or cause redirect loops.

For a wider view of your technical health, combine these fixes with your Is WordPress good for seo so every crawl issue, not only broken links, is addressed.

To verify redirects, open a private browser window and visit the old URL. It should jump instantly to the new destination and show a 200 OK status when checked with your browser’s network tools.

Step 5: Schedule regular broken link checks

Broken links will slowly appear again as you publish new content, change URLs, or link to external sites that later disappear. A simple maintenance routine keeps everything under control.

  1. Open your broken link checker plugin settings under Settings or its own menu.
  2. Set a sensible scan frequency such as weekly or monthly, and enable Email notifications for new issues.
  3. Add a repeating calendar reminder titled “Broken link review” so you regularly log in to handle the plugin’s report.
  4. Once a month, review the Not found (404) section in Google Search Console to catch any URLs your plugin missed.
  5. For larger sites, periodically crawl your domain with a desktop crawler like Screaming Frog SEO Spider or a cloud based SEO audit tool to cross check results.
Treat broken link maintenance as part of your normal SEO workflow, just like updating sitemaps or checking rankings. Over time, this keeps both users and search engines confident in your site’s quality.

As you repeat this process, your broken link reports will get shorter and easier to manage. Most monthly reviews should only take a few minutes once the initial cleanup is done.

Conclusion You Are Ready to Go

You have now scanned your WordPress site for Broken Links, fixed them directly in your posts and pages, and created 301 redirects for URLs that had to change. You have also set up a recurring maintenance routine so new broken links are caught early.

With cleaner internal and external links, visitors hit fewer dead ends, search engines crawl your content more efficiently, and your overall technical SEO improves. Keep refining your process as your site grows, and broken links will stay a minor maintenance task instead of a major emergency.

Further Reading

Frequently Asked Questions

How often should I check for broken links in WordPress?

For most small to medium WordPress sites, checking for broken links once a month is enough, as long as you also review major changes like migrations or permalink updates right away. High traffic or rapidly changing sites may benefit from weekly scans. The key is to respond quickly when your plugin or Google Search Console reports new 404 errors.

Do broken links really hurt my SEO performance?

Yes, broken links can indirectly hurt SEO. They waste crawl budget, make it harder for search engines to discover and recrawl important pages, and send negative quality signals if they appear in large numbers. They also frustrate users, which can lead to higher bounce rates. Fixing broken links and adding relevant redirects is a core part of solid technical SEO.

Should I redirect every 404 page to my homepage?

No. Redirecting every 404 to your homepage can confuse both users and search engines, and in some cases may be treated as a soft 404. Only redirect a broken URL to a page that is clearly relevant, such as an updated version of the same content or a closely related category. If there is no good match, it is better to let a clean, branded 404 page handle the error.

Can I find broken links without installing a plugin?

Yes. You can use external tools such as desktop crawlers and online link scanners that crawl your site from the outside. Google Search Console will also show you 404 URLs that Google has encountered. The tradeoff is that you must manually edit links in WordPress using those reports, while a good plugin lets you fix some issues directly from its own screen.

What is the difference between fixing a link and adding a redirect?

Fixing a link usually means updating the URL inside your content so users click a working destination. Adding a redirect means telling the server to forward any request for an old URL to a new one. Ideally, you do both for important pages that moved: update internal links so they point directly to the new URL and keep a 301 redirect in place for old bookmarks and external links.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button