Uh-oh! Your WordPress homepage is loading fine but whenever you click to a subpage, you’re seeing a 404 error, even though you see them all listed under Pages in the WordPress admin.
Don’t panic. All of your subpages are completely fine. This error can almost always be solved by going to Settings > Permalinks in the WordPress admin and clicking Save Changes to refresh permalinks.
That’s it?! Yes, that’s it. A simple solve.
For the most part, you shouldn’t ever have to do this after the initial permalink set up, with the exception of migrating your site to a new server or similar. However, occasionally there can be a plug-in update or something that really shouldn’t have affected permalinks but it did, causing them to need to be refreshed.
If you’re ever seeing 404 errors unexpectedly, refreshing permalinks is a good place to start the troubleshooting.