Why Is My WordPress Website Showing a 404 Page Not Found Error?
You’ve spent time getting your business website looking just right. Your services are listed, your contact page is working, and customers can find the information they need. Then one day, you click a link on your website and are greeted with a message saying “404 Page Not Found”. The page you expected to see has apparently disappeared.
It can be particularly frustrating when your homepage is working perfectly, but other pages are not. Perhaps customers can see your plumbing business homepage but cannot open the emergency repairs page. Or maybe your beauty salon’s booking page suddenly shows an error instead of allowing visitors to make an appointment.
A WordPress 404 Page Not Found Error does not necessarily mean your website is broken or that your content has been deleted. In many cases, the problem is related to how WordPress handles page addresses, known as permalinks. Other causes include deleted pages, changed URLs, broken links and server configuration problems. The right fix depends on what has actually gone wrong.
Quick Answer
If your WordPress website is showing a 404 Page Not Found error, start by checking whether the problem affects one page or several pages. If your homepage works but other pages display 404 errors, open your WordPress dashboard, go to Settings > Permalinks and click Save Changes without changing the existing settings. This can refresh the website’s URL rules and often resolves permalink-related errors.
If only one page is affected, check whether it is published, whether its URL has changed or whether the link is incorrect. If the error continues, the problem may involve your website’s server configuration, redirects or plugins. Avoid deleting files or making major changes without a backup.
What Does a WordPress 404 Error Mean?
A 404 error is an HTTP status code that tells a visitor’s browser that the requested page or resource could not be found. The website server may be working normally, but it cannot provide the specific address the visitor has requested. WordPress may display its own designed 404 page, while some hosting environments display a simpler server-generated error message.
Imagine a customer visiting a local garage website to book an MOT. They click the MOT booking link, but instead of finding the booking information, they see “Page Not Found”. The rest of the website may be working, yet that particular address is not leading to the expected page.
This is different from a website being completely unavailable. A 404 error normally concerns a particular URL, although a configuration problem can cause many WordPress URLs to return the same error.
Does a 404 Error Mean the Page Has Been Deleted?
No. A 404 error does not prove that the page has been deleted. The content might still exist in WordPress, but the website may not be directing visitors to it correctly. A changed page address, incorrect permalink rules or a server configuration problem could all prevent a published page from loading.
Before recreating the page, check your WordPress dashboard. You may discover that the original page is still present, complete with its text and images. If so, fixing the URL or the website’s routing rules may be all that is needed.
Why Does WordPress Show a 404 Page Not Found Error?
WordPress 404 errors can happen for several reasons. Some are straightforward, such as a visitor following an outdated link. Others involve the settings that tell your website where to find individual pages.
| Possible cause | What happens | Likely next step |
|---|---|---|
| Permalink rules need refreshing | Published pages return 404 errors even though they still exist. | Check Settings > Permalinks. |
| Page URL has changed | Visitors are using an old address. | Check the new URL and consider a redirect. |
| Page was deleted or unpublished | The requested page is no longer publicly available. | Check Pages, Posts and Trash. |
| Incorrect internal link | A menu or button points to the wrong address. | Correct the link destination. |
| Server rewrite problem | The server cannot route friendly URLs correctly. | Ask the hosting provider to investigate. |
| Plugin or redirect conflict | Requests may be redirected or handled incorrectly. | Review recent changes and relevant plugins. |
| Migration problem | Old URLs or routing rules no longer match the website setup. | Check migration settings and server configuration. |
What Are WordPress Permalinks?
A permalink is the permanent web address of a page or blog post. For example, a cleaning business might have a page address ending in /office-cleaning/. WordPress uses its permalink settings and server rules to work out which content should appear when somebody visits that address.
If those rules are incorrect or out of date, WordPress may fail to display the right page. This is why refreshing permalinks is often one of the first recommended checks when multiple pages suddenly show 404 errors.
You can read more in the official WordPress permalink settings guide.
What Should You Check First?
Before changing anything, establish how widespread the problem is. Open your homepage, a few service pages, your contact page and a blog post. This will help you work out whether you are dealing with one broken link or a wider WordPress problem.
- Check the homepage. Does it load normally, or is it also showing an error?
- Open several other pages. Find out whether the problem affects one URL or most of the website.
- Check the address carefully. Look for spelling mistakes, missing words or incorrect links.
- Try a private browser window. This helps rule out some browser caching problems.
- Check recent changes. Have you changed page names, updated plugins, moved hosting or edited menus?
- Look in your WordPress dashboard. Confirm whether the affected page still exists and is published.
Make a note of the exact page addresses that are failing. This is particularly useful if you need to contact your hosting provider or website professional. Saying that your contact page returns a 404 error gives them a much clearer starting point than simply reporting that the website is broken.
How to Fix a WordPress 404 Page Not Found Error
The following steps move from simple checks to more technical investigations. Start with the safest option and test your website after each change. You may not need to complete every step.
Step 1: Refresh Your WordPress Permalink Settings
This is a useful first fix when your homepage works but other pages show 404 errors. Log in to WordPress, select Settings from the left-hand menu, then choose Permalinks. Check that your existing permalink structure is still selected.
Click Save Changes without selecting a different structure. This allows WordPress to refresh its URL routing rules. You do not normally need to change your page addresses or select another permalink option.
Now open one of the pages that previously displayed the error. If it works, test several more pages to confirm the problem has been resolved. If nothing changes, continue investigating rather than repeatedly saving the same settings.
Step 2: Check That the Page Is Published
From the WordPress dashboard, open Pages > All Pages or Posts > All Posts, depending on the type of content affected. Find the page and check its status. A draft, private page or item in the Trash may not be available to ordinary website visitors.
If the page exists and should be public, confirm that it is published. Use the View Page option to open the address directly. If that works but a menu link still shows an error, the menu may be pointing to an old or incorrect URL.
Do not create a duplicate page until you have checked the original. Duplicating content unnecessarily can leave you with several similar pages and make future website management more confusing.
Step 3: Check the Page URL and Slug
The slug is the part of a page address that usually appears after your domain name. For example, the slug for a page about emergency plumbing might be emergency-plumbing.
If you recently renamed the page or changed its slug, links using the old address may no longer work. Open the page editor, check the current URL and compare it with the link that is producing the error.
If the old address was already being used by customers or search engines, consider setting up a permanent redirect to the new address. Avoid changing the slug again simply to experiment, as this can create more broken links.
Step 4: Check Your Website Menus and Buttons
Sometimes the page works correctly when opened directly, but visitors reach a 404 error when clicking a navigation menu or button. This usually suggests the link itself needs checking.
Open the menu or page editor used by your WordPress theme and inspect the destination URL. Depending on your theme, navigation may be managed through Appearance > Menus, the Site Editor or a page builder.
Correct any outdated or mistyped links, save your changes and test them on the public website. Remember to check mobile navigation as well, particularly if your website uses a separate mobile menu.
Step 5: Clear Website and Browser Caches
Caching stores copies of website content to help pages load faster. If an old redirect, error response or page version has been cached, visitors may continue seeing an outdated result even after the underlying problem has been fixed.
If you use a caching plugin or hosting cache, clear the relevant cache using its normal controls. You may also need to clear a content delivery network cache if your website uses one. Then test the affected page in a private browser window.
Clearing the cache will not repair a missing page or incorrect server rule. It is mainly a way to make sure you are testing the current website rather than an older stored response.
Step 6: Ask Your Host to Check the Server Rewrite Rules
If the homepage works but nearly every other page returns a 404 error, the problem may involve the server rules used to handle WordPress permalinks. On many Apache-based hosting systems, these rules are stored in a file called .htaccess.
The file may contain settings added by WordPress, security plugins, redirects or the hosting provider. Incorrect rules can interfere with how page requests are handled. On Nginx hosting, the equivalent routing settings are normally managed through the server configuration rather than an .htaccess file.
If refreshing permalinks does not help, ask your hosting provider to check the appropriate rewrite configuration. Do not delete or replace .htaccess without first making a backup and understanding what else the file controls.
The official WordPress common errors guide covers permalink-related 404 problems and server rewrite issues.
Step 7: Investigate Recent Plugin or Theme Changes
If the problem started immediately after a plugin or theme update, check whether the change affected redirects, custom page types or website routing. Plugins that manage redirects, security settings, online shops or booking systems may introduce their own URL rules.
Make sure you have a backup before testing changes. Where possible, use a staging copy of the website or a troubleshooting method that does not disrupt visitors. Disable or test suspected components one at a time rather than switching off everything on a live business website.
If your online shop or booking system is involved, professional help may be worthwhile. Changing the wrong plugin setting could affect payments, appointments or other important website functions.
What If Only One WordPress Page Shows a 404 Error?
If only one page displays a 404 error while the rest of your website works, start by checking that particular page. It may have been deleted, moved, renamed or changed from published to draft. The link leading to it may also be incorrect.
For example, imagine a hairdresser who recently changed a page called “Hair Colouring” to “Hair Colour Services”. If the page address changed at the same time, an old link from Facebook or Google could still point to the previous address. The page may exist under its new URL, but visitors using the old one could see a 404 error.
Check the current published URL, then decide whether the old address should redirect to it. If the page was accidentally deleted, check the WordPress Trash for a recoverable copy. If it was intentionally removed and no suitable replacement exists, a genuine 404 response may be appropriate.
What If Every Page Except the Homepage Shows a 404 Error?
When the homepage works but most other pages return 404 errors, permalink routing is one of the strongest possibilities to investigate. The content may still exist in WordPress, but the server may not be handling the page addresses correctly.
Start with Settings > Permalinks and save the existing settings. If the problem continues, ask your hosting provider to check the website’s rewrite rules and whether the server is configured to support the chosen permalink structure.
This pattern is especially useful to mention when requesting technical support. A hosting company investigating a single missing page may look in a different place from one investigating an entire website where only the homepage works.
Why Do 404 Errors Appear After an Update or Migration?
A WordPress update or website migration can sometimes expose problems with URL routing, redirects or server configuration. This does not mean every WordPress update causes 404 errors. The timing simply gives you an important clue about what may have changed.
When moving a website to another hosting company, the new server may handle WordPress URLs differently. For example, an Apache-based website and an Nginx-based website do not manage rewrite rules in exactly the same way. A migration that transfers the files and database but overlooks the correct server configuration can leave published pages inaccessible.
Problems can also appear after changing a plugin that manages custom content. A garage website with a separate vehicle services section, for instance, might use a plugin that creates special page addresses. If those rules stop working, the affected service pages could return 404 errors even though ordinary pages still load.
Before rolling back an update or restoring an older backup, establish whether the problem is limited to URLs. Restoring an entire website may be unnecessary and could replace more recent content or customer information.
When Should You Use a 301 Redirect?
A 301 redirect tells browsers and search engines that a page has permanently moved to a different address. It is useful when you change a published page URL and want people using the old link to reach the new location automatically.
Suppose a cleaning company changes its service page from /commercial-cleaning/ to /office-cleaning/. If the new page is the appropriate replacement, a 301 redirect from the old URL to the new one can help visitors reach the information they expected.
Redirects should lead to relevant replacement pages. Sending every missing URL to your homepage is not a good solution. It can confuse visitors, hide genuine broken links and make it harder for search engines to understand what happened to the original content.
If a page has been permanently removed and there is no suitable replacement, allowing it to return a 404 or 410 status can be appropriate. You do not need to create a redirect for every missing address on your website.
Can 404 Errors Affect Your Google Rankings and Enquiries?
A 404 error is not automatically an SEO disaster. Websites naturally have pages that are removed or addresses that no longer exist. Google can understand a genuine 404 response, and an isolated missing URL does not mean your entire website will lose its rankings.
The bigger concern is when important pages that should be available are returning errors. If your main services page, booking page or contact page is inaccessible, potential customers may be unable to take the next step. Search engines may also stop treating a consistently unavailable URL as an active page.
Imagine a local accountant whose tax return service page receives visitors from Google. If that page suddenly returns a 404 error, people looking for help may leave without making an enquiry. Even if the rest of the website remains available, the business could lose opportunities through that broken page.
Google Search Console can help identify URLs that Google has encountered as missing. However, not every reported 404 needs fixing. Prioritise important published pages, broken internal links and old URLs that have relevant replacements.
Google explains how missing pages are handled in its HTTP status codes and network errors documentation.
Expert Insight From Daren Ward
Daren Ward – Founder, A to Z Website Solutions
Having worked with business websites since 2004, one thing I would recommend is finding out exactly which pages are affected before making changes. A single missing page is a very different problem from a website where every service page suddenly returns a 404 error. The pattern often tells you where to begin looking.
My first check would normally be whether the page still exists in WordPress and whether its published address matches the link being used. If several pages are affected, I would then look at the permalink settings and whether anything has recently changed with the hosting or website configuration.
I would also encourage business owners to think about the customer’s experience. A broken link on a page that nobody uses is not the same priority as a broken booking page or contact form. If your website helps generate enquiries, I would check those important customer journeys first, then work through the remaining errors.
Most importantly, I would avoid changing permalink structures or deleting configuration files simply because an online tutorial suggests it. The objective is not just to remove the error message. It is to restore the correct pages without creating new problems elsewhere on the website.
Important Precautions Before Making Changes
Some WordPress 404 problems can be fixed through simple dashboard settings, but more technical changes can affect the entire website. Before editing server files, changing permalink structures or disabling important plugins, make sure a reliable backup is available.
- Do not change your website’s entire permalink structure without understanding how existing URLs will be affected.
- Do not delete or overwrite the
.htaccessfile without making a secure copy first. - Do not recreate pages until you have checked whether the originals still exist.
- Do not redirect every missing page to your homepage.
- Do not restore an old website backup without checking whether newer content, orders or bookings could be lost.
- Do not disable essential ecommerce or booking plugins on a live website without considering the impact on customers.
If you are unsure about a technical change, ask your hosting provider or website professional to investigate. A controlled fix is safer than making several changes at once and then struggling to identify which one caused another problem.
How Can You Prevent Future 404 Errors?
It is normal for some URLs to stop existing over time, particularly when a website grows or older content is removed. The aim is not to eliminate every possible 404 error, but to prevent avoidable broken links and make sure important pages remain accessible.
Keep Important Page Addresses Consistent
Once a page is published and people are using its address, avoid changing that URL without a good reason. You can usually update the page title, text and images without changing its slug. Keeping the same address helps preserve links from other websites, social media and search results.
Use Redirects When Pages Move
If you need to change an established page address, arrange a suitable redirect from the old URL to the new one. Check that the destination is relevant and that the redirect works correctly. Also update your own menus and internal links so visitors are taken directly to the new page.
Check Important Pages After Updates
After major WordPress changes, test more than the homepage. Open your main service pages, contact page, booking pages and recent blog posts. This is particularly important after changing themes, moving hosting or updating plugins that manage website content.
Review Broken Links Periodically
Check important internal links and review missing-page reports where available. Google Search Console can help identify some URLs that need attention, while website auditing tools may highlight broken links within your own pages.
Regular WordPress maintenance can help businesses keep on top of website updates, technical checks and ongoing reliability without having to investigate every issue themselves.
Action Checklist
If your WordPress website is showing a 404 error, use this checklist to work through the problem in a sensible order.
- Open the homepage and several other pages to establish how widespread the error is.
- Check whether the affected URL is correct and whether the page still exists.
- Confirm that the page or post is published rather than draft, private or trashed.
- Go to Settings > Permalinks and save the existing settings without changing the structure.
- Test the affected page again in a private browser window.
- Check whether menus and buttons link to the correct published URLs.
- Clear relevant website caches if you suspect an old error response is being displayed.
- Review any recent changes to plugins, themes, redirects or hosting.
- Ask your hosting provider to investigate rewrite rules if several pages still return errors.
- Set up relevant redirects for pages that have permanently moved.
- Test contact, booking and checkout pages after resolving the problem.
Frequently Asked Questions
1. Why does my WordPress homepage work but other pages show 404 errors?
This often points towards a problem with WordPress permalink routing or the server rules that handle page addresses. Start by opening Settings > Permalinks and saving the existing settings. If the pages still fail, ask your hosting provider to check the server configuration. The fact that your homepage works does not necessarily mean your other pages have been deleted.
2. Will saving WordPress permalinks delete my pages?
No. Saving your existing permalink settings does not delete your pages or posts. It allows WordPress to refresh its URL rules. However, changing to a different permalink structure can alter page addresses, so avoid selecting a new structure unless you understand the consequences. If your website already has established links, keeping the current structure is usually the safer first step.
3. Why does a new WordPress page show a 404 error after publishing?
The page may have a permalink routing problem, an incorrect URL or a publication setting that needs checking. Confirm that it is published and open it directly from the WordPress dashboard. If the page exists but cannot be reached, try saving the current permalink settings. If the problem affects only certain special page types, a plugin or custom content configuration may need investigating.
4. Can a WordPress plugin cause a 404 error?
Yes. Some plugins manage redirects, custom page addresses or website routing, and a conflict or incorrect setting can sometimes cause pages to become inaccessible. However, not every 404 error is caused by a plugin. Check the page URL and permalink settings first, then investigate recent plugin changes if the problem continues. Use a safe testing method rather than disabling important plugins without preparation.
5. How do I fix a 404 error after changing a page URL?
First confirm the page’s new published address. Update any internal links and menus that still point to the old URL. If the old address was already in use, set up a 301 redirect to the new page when it is a suitable replacement. This helps customers using saved links or older search results reach the correct information.
6. Should I redirect all 404 errors to my homepage?
No. Automatically sending every missing page to the homepage can confuse visitors and make it harder to understand which pages have actually moved. Redirect a missing URL when there is a relevant replacement. If the page has been removed permanently and there is no suitable alternative, returning a proper 404 or 410 status may be the correct response.
7. Can clearing the WordPress cache fix a 404 error?
Clearing the cache can help when an old error response or redirect has been stored, but it will not repair a missing page or incorrect server configuration. It is useful to clear relevant caches after fixing the underlying problem so visitors receive the current response. If the page still returns a genuine 404 status, further investigation is needed.
8. What is the difference between a 404 error and a 500 error?
A 404 error means the requested resource could not be found. A 500 Internal Server Error means the server encountered a problem while trying to process the request. Both can prevent customers from viewing a page, but their causes and fixes are different. Record the exact error message when asking for technical help.
9. Will Google remove my page if it returns a 404 error?
If Google repeatedly finds that a URL returns a genuine 404 response, it may eventually remove that URL from its search index. A temporary error does not automatically mean permanent removal. If the page should still exist, fix the problem and make sure the correct URL can be accessed and crawled again.
10. Can I fix WordPress 404 errors without technical knowledge?
Some errors can be fixed through straightforward checks, such as confirming a page is published, correcting a broken menu link or refreshing permalink settings. Problems involving server rewrite rules, configuration files or complex plugin conflicts may require technical help. If you are uncomfortable changing hosting files, contact your provider or a WordPress professional rather than experimenting with the live website.
Summary
A WordPress 404 Page Not Found Error means the website cannot find the page or resource requested at a particular address. It does not automatically mean your content has been deleted or that the entire website has failed.
If the homepage works but other pages show errors, refreshing the existing permalink settings is a sensible first step. If only one page is affected, check whether it is published and whether its URL has changed. More widespread problems may require your hosting provider to investigate server rewrite rules or recent configuration changes.
The important thing is to identify the cause before making major changes. Once the problem has been fixed, test your website’s main pages and customer contact routes, and arrange suitable redirects where published pages have permanently moved.
Getting Further Help
If your WordPress website keeps showing 404 errors and you cannot identify the cause, getting technical assistance can help prevent unnecessary changes. You can learn more about our WordPress maintenance service if you would like support with keeping your business website working reliably.
Key Takeaways
- A 404 error means a requested page or resource cannot be found at its current address.
- The page may still exist in WordPress even when visitors see an error.
- Saving existing permalink settings can resolve some widespread WordPress 404 problems.
- Check publication status and URL changes when only one page is affected.
- Incorrect server rewrite rules can cause several pages to fail while the homepage still works.
- Use 301 redirects for permanently moved pages with suitable replacements.
- Prioritise broken service, contact, booking and checkout pages because they directly affect customers.
- Back up your website before changing important server files or plugin settings.
Found This Helpful? Share It
If you found this article useful, please share it with other business owners who might find it helpful too.
A quick share on LinkedIn, Facebook or your favourite social platform could help someone else find the advice they need.