Reset permalinks in WordPress

If your WordPress permalinks are broken, or your pages display a Page Not Found (404) error, you can use the steps below to reset the permalinks in WordPress.

  1. You should always backup your site before performing any troubleshooting.
  2. Log in to WordPress.
  3. Go to Settings > Permalinks.
  4. Change the permalink structure to Plain.
  5. Click Save Changes.
  6. The URL on your website's pages should display the permalink settings you selected.

More info