How to Fix WordPress 404 Errors Across All Pages
DISCLOSURE: This article may contain affiliate links. Which means we make a commission, at no cost to you, on products and services we recommend that you decide to buy. Read our full disclosure here.
If you have a working WordPress website that suddenly starts reporting one or more 404 errors (page does not exist) across its pages, I hope I have a solution for you.
I say “hope” because I can’t guarantee this suggestion works for everyone. All I know is it worked for me, so I hope it works for you too.
The solution I used is simple and relatively harmless so I never went through the backup process. If you’re concerned about breaking your site, you should create a backup before moving forward.
In all honesty, though, you probably don’t need to go that far. Take a look at the solution below then decide for yourself.
This is what I did when my site suddenly started reporting 404 errors across all pages.
Go to Settings > Permalinks and make a note of the structure you’re currently using (taking a screenshot works if you don’t have a pen and paper to hand).
Choose an alternative permalink structure and hit save.
Change the permalink structure back to its original state and hit save again.
Now check to see if the page(s) returning a 404 error are working.
If they are, great. If not, I’m afraid you’ll have to dig a little deeper for a solution. Start with your hosting company or the WordPress support forum.
Hey, I build websites for small businesses in the UK. I also run a few websites of my own, including WordPress Made Easy, which is aimed at beginners and newbies.