How to fix broken links and missing pages in WordPress by resetting permalinks

The permalink structure can get lost sometimes

Sometimes the link structure on your WordPress needs a jumpstart.  After deploying your site, installing new features or just plain high volume day to day operation your links may have moved to places where they don’t belong. If you are seeing unexpected 404 pages, for example with redirection after successful payments in WooCommerce, try resetting your permalinks like so:

Reset permalinks manually

  1. Make a full backup, before you do anything.
  2. Go to General > Permalinks
  3. Whatever your settings are, select a different permalink option and hit Save. Be careful: if you have a custom option, you must save the info entered there manually. It will be gone if you save different options.
  4. After they have successfully changed, revert to your old settings and hit Save again.This rewrites the permalink structure to your database, eliminating corrupt or faulty entries in the process.

Here is a quick screencast illustrating the process:


Too small? View in full size.

Permalink management plugins

Furthermore there are of course plugins to help you manage your permalinks:

Happy permalink regenerating!


Leave a Reply

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

Con Schneider