WordPress website showing a 404 page not found error

WordPress 404 Error: 7 Easy Fixes That Work

Have you opened a page on your WordPress website and seen a 404 Page Not Found message?

This means your browser could not find the page you wanted to open.

It can happen when a page is deleted, a link is incorrect, or your website’s settings are not working properly.

The good news is that many WordPress 404 errors are easy to fix.

In this guide, you will learn seven simple ways to fix a WordPress 404 error. You do not need to be a developer to try the first few steps.

What Is a WordPress 404 Error?

A 404 error means that a page could not be found at the address you opened.

For example, imagine your website has this page:

yourwebsite.com/about-us/

If someone opens an incorrect address such as:

yourwebsite.com/about/

They may see a 404 error.

This can happen to visitors and search engines. If important pages show 404 errors, people may leave your website without finding what they need.

Why Does WordPress Show a 404 Error?

A WordPress 404 error can happen for several reasons:

  • The page was deleted or moved.
  • The URL was typed incorrectly.
  • Your permalink settings need to be refreshed.
  • A plugin is causing a conflict.
  • Your website’s rewrite rules are not working correctly.
  • An internal link points to the wrong page.

Let’s try the easiest fixes first.

1. Check the Page URL

First, check whether the address is correct.

Look carefully at the URL in your browser.

Check for:

  • Missing letters.
  • Extra letters.
  • Incorrect words.
  • Missing hyphens.
  • Extra spaces or symbols.

For example, these are two different addresses:

yourwebsite.com/wordpress-guide/

yourwebsite.com/wordpress-guides/

If the page opens with the correct URL, the problem may simply be a typing mistake.

If the address is correct but the page still shows 404, continue to the next step.

2. Refresh Your WordPress Permalink Settings

This is one of the first fixes to try when WordPress posts or pages suddenly show 404 errors.

WordPress uses permalink settings to create the addresses of your pages and posts.

Sometimes, these settings need to be refreshed.

Follow these steps:

  1. Log in to your WordPress dashboard.
  2. Open Settings → Permalinks.
  3. Check which permalink structure is selected.
  4. Do not change it unless you have a reason to.
  5. Click Save Changes.

Even if you do not change anything, saving the settings can refresh WordPress’s rewrite rules.

Now open the page that was showing the 404 error.

If it works, the problem may have been related to the permalink rules.

A website page showing a page not found error

3. Check Whether the Page Still Exists

Sometimes, a page shows 404 because it was deleted, moved, or saved with a different address.

To check:

  1. Open your WordPress dashboard.
  2. Go to Pages → All Pages.
  3. Search for the page name.
  4. Check whether the page is published.
  5. Open the page and review its URL slug.

If the page is in the Trash, you may be able to restore it.

If the page exists but has a different URL, use the correct address.

Do not create another page with the same content before checking whether the original page can be restored.

4. Check Your Internal Links

An internal link connects one page on your website to another page on the same website.

For example, an article may link to your contact page.

If the contact page address changes, the old link may stop working.

This creates a broken link.

To fix it:

  1. Open the article or page containing the link.
  2. Find the link that leads to the 404 page.
  3. Check the correct address of the destination page.
  4. Edit the link.
  5. Save the article and test it again.

You can also read our guide on how to fix broken links in WordPress.

Fixing broken links helps visitors reach the right pages and improves the experience of using your website.

5. Check Whether a Plugin Is Causing the Error

A WordPress plugin can sometimes change how your website handles URLs.

If the 404 error started after installing or updating a plugin, that plugin may be involved.

Try this:

  1. Think about which plugin was installed or updated recently.
  2. If you can access the dashboard, temporarily deactivate that plugin.
  3. Open the page again.
  4. Check whether the error has disappeared.

If the problem is fixed, check the plugin’s settings or documentation.

Do not deactivate or delete all your plugins at once. That can create more problems and make it harder to find the cause.

If you cannot access your dashboard, ask your hosting provider for help before changing website files.

Website owner checking a WordPress website error

6. Check Your Website’s Redirects

A redirect sends visitors from one URL to another.

For example, if you move a page from:

yourwebsite.com/old-page/

to:

yourwebsite.com/new-page/

You can set up a redirect so visitors reach the new page.

If the redirect is incorrect, visitors may reach a 404 page instead.

Check whether:

  • The old page address is correct.
  • The new page exists.
  • The redirect points to the right destination.
  • The redirect does not send visitors to another broken page.

If you use a redirect plugin, review its settings carefully.

For a page that has permanently moved, a 301 redirect is commonly used to send visitors to its new address.

7. Check Your Website Hosting

If many pages suddenly show 404 errors, the problem may be bigger than one broken link.

Your website’s server configuration or rewrite rules may need attention.

Try these steps:

  1. Open your website homepage.
  2. Check whether the homepage works.
  3. Open a few different pages.
  4. See whether all pages or only certain pages show 404.
  5. Contact your hosting provider if the problem continues.

Tell your hosting provider which URLs are showing errors and when the problem started.

Do not edit server configuration files unless you know what you are changing. Incorrect changes can make your website unavailable.

What If Google Shows a 404 Error?

Google may find a page that no longer exists.

This can happen when:

  • A page was deleted.
  • A URL was changed.
  • Another website links to an old address.
  • Your website has a broken internal link.

If the page still exists, fix the URL or restore the page.

If the page has permanently moved, redirect the old URL to the relevant new page.

If the page was intentionally removed and has no replacement, it may be correct for it to return a 404 response.

You can use Google Search Console to inspect your website’s pages and see which URLs Google has discovered.

How to Prevent WordPress 404 Errors

You can reduce future 404 errors by following a few simple habits:

  • Check links before publishing an article.
  • Avoid changing page URLs without a reason.
  • Add redirects when important pages move.
  • Review your website for broken links.
  • Keep your WordPress website updated.
  • Check important pages after making website changes.

Our WordPress maintenance checklist can help you remember regular website maintenance tasks.

Final Thoughts

A WordPress 404 error means that a page could not be found at the address you opened.

Start by checking the URL. Then refresh your permalink settings and make sure the page still exists.

If the problem continues, check internal links, plugins, redirects, and hosting settings.

Make one change at a time and test the page after each change. This helps you find the real problem without making unnecessary changes to your website.

Similar Posts

Leave a Reply

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