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.
- You should always backup your site before performing any troubleshooting.
- Log in to WordPress.
- Go to Settings > Permalinks.
- Change the permalink structure to Plain.
- Click Save Changes.
- The URL on your website's pages should display the permalink settings you selected.
More info