How to Easily Find and Fix 404 Errors in WordPress

Looking for a way to find and fix 404 errors on your website? 

404 errors can cause you to lose traffic and sales.

In this article, you’ll learn what causes 404 errors and some simple ways to find and fix them.

What you’ll need: Broken Link Checker by AIOSEO

What’s a 404 Error?

A 404 error is a standard response code that indicates the web page or file you’re trying to access can’t be found.

This code displays when you click a hyperlink or enter a URL into a web browser, but the website’s server is unable to locate the page you’re looking for.

The error displays in the browser as “404 Page Not Found.” 

Example of 404 error.

What Causes 404 Errors? 

404 errors commonly occur after a page or asset is deleted or moved. (An asset is a file, such as an image, an audio recording, or a PDF.)

Because the original URL no longer works, a 404 error will display.

We call these URLS broken links or dead links.

Typos in URLs are another cause of 404 errors.

URLs and Addresses

So, what’s a URL? 

Just like your physical home, every web page and online file has a unique address

The URL is the address.

It “tells” the browser and web server where to locate the web page so it can be displayed to the user.

For example, the URL below tells the web server to go to the aioseo.com website and find and display the “blog” page. 

https://aioseo.com/blog/

Changing Your Address

When you move to a new home, you need to let everyone know your new address. Otherwise, no one will be able to find you.

It’s the same for a web page.

Imagine that we moved our blog to a new URL: https://aioseo.com/seo-blog/

Our old https://aioseo.com/blog/ URL would 404. (Yes, “404” has become a verb.)

But what if we could forward that old address to the new one?

Just like mail forwarding for homes, we can set the old blog URL to automatically redirect ( “forward”) all traffic to the new URL. That way no one sees a 404 error page. And we wouldn’t lose any traffic.

This works for deleted pages, too. You can redirect the old defunct URL to a related page or to your website’s home page. We’ll learn more about handling deleted pages below.

Now, before we look at how to fix and prevent 404 errors, let’s look at the 3 kinds of broken links you need to know about.

There are 3 types of broken links you may encounter and will need to know how to manage.

Internal links are links within a website. These are important for SEO and for sales. 

Small business blogs will have many links from articles to their product pages. These links are key drivers of revenue.

Broken internal links can frustrate users and prevent them from checking out or signing up for events, newsletters, and courses.

And if you’ve got lots of broken links, that could affect your search engine rankings.

External links are links from your website to other sites.

If the site you linked to moved its page, then your external link would stop working: when readers clicked on it they’d see a 404 error page.

Backlinks are links from other sites to yours. Backlinks are a traffic source, and links from high-ranking sites can send a surge of new web visitors.

But if there’s a typo in that backlink, your new visitors will see a 404 error message when they visit your site.

The good news is you can redirect these broken inbound links, too.

Now, let’s start finding and fixing broken links.

The first step is to download and install the Broken Link Checker plugin.

Broken Link Checker is the best tool for fixing 404 errors.

Once you’ve downloaded the zip file, go to Plugins » Add New.

Uploading a plugin in WordPress.

Then click Upload Plugins.

"Upload plugin" button in WordPress.

Select the zip file from your desktop and upload it.

If you don’t already have an account you’ll be asked to create one.

A setup wizard will walk you through a few steps. 

Now, to see and review your broken links, click on the Broken Links tab. 

Broken Links tab in Broken Link Checker.

All of your internal (and external links) will be categorized by link status: 

All (all links) | Broken | Redirects | Dismissed

Click on Broken to see your list of broken links.

Number of broken links

In the example above, we have 3 broken links, listed in the left-hand column. 

Hover your cursor over a broken link, and 4 options will display beneath it:

Choose Edit URL.

Editing a broken URL

Now, you’ll see a field that displays the anchor text (at left) and the URL (at right) that’s broken. 

Simply type the correct URL into that field and click the blue Update button at the lower left.

Instead of editing the broken link, you can choose Unlink. That will remove the link from the post. 

Unlinking broken links

Broken Link Checker will rescan your site every 3 days. 

Under Advanced Settings, you can customize which pages you want to be auto-scanned.

Broken Link Checker will scan your site every 3 days. You can choose which types of pages are scanned by tweaking the Advanced Settings.

  • Go to Broken Link Checker » Settings. 
  • Scroll down and click the toggle button next to Advanced Settings.

That will open some options.

Broken Link Checker settings.

The default setting is Include All Post Types.

Untick the boxes next to any post type you’d like to omit from scanning. The options are:

  • Published
  • Draft
  • Private
  • Scheduled (future)
  • Pending.

Now, you know how to find and fix broken links on your website. 

But what about broken backlinks? How can you fix broken links to your site when they’re on someone else’s website

In the next section, you’ll learn how to detect these links and fix them easily with a redirect.

By using Google Analytics or the MonsterInsights plugin you can see which of your pages are getting traffic. 

It’s here that you may notice a broken link that’s sending you traffic. This is usually because another site linked to you but included a typo in that link.

Here are two ways to fix this.

  1. Contact the owner of the referring site and ask them to change it.
  2. Or simply create a redirect on your own site, to the correct URL.

What’s Next?

We hope this post helped you learn what 404 errors are and how they can be easily fixed.

You can also check out our article What is NAP in SEO? and How to Avoid SEO Scams.

If you found this article helpful, then please subscribe to our YouTube Channel. You’ll find many more helpful tutorials there. You can also follow us on X (Twitter), LinkedIn, or Facebook to stay in the loop.

Want to Try AIOSEO for Free?

Enter the URL of your WordPress website to install AIOSEO Lite.

Please enable JavaScript in your browser to complete this form.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.

author avatar
Sherrie Gossett Content Writer
Sherrie is an SEO analyst based in New Hampshire in the United States. When she’s not busy researching, implementing, and writing about new SEO developments, she can be found hiking and playing guitar.

Reply Cancel Reply

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

5 comments on “How to Easily Find and Fix 404 Errors in WordPress

    1. Hi Andrzej,

      Do you mean IP spoofing?
      If that’s the case, it’s usually done to overwhelm servers for the purpose of slowing them down or causing them to crash.

  1. Is there any option in AIOSEO for mass redirections where we can upload no. of URLs from an excel sheet that include target URLs as well?