Reset WordPress permalinks to fix the 404 error
WordPress permalinks are permanent web address URLs for your posts and pages. Sometimes, when they are not saved correctly, posts and pages on your site can return the 404 error instead of displaying content. You can resolve this by switching to a different permalink structure and then changing it back in the WordPress dashboard.
- Sign in to WordPress.
- In the left-side menu, select Settings > Permalinks.
- Under Permalink Settings, select a different permalink structure, and then select Save Changes. This will resolve the 404 error.
- Select the previous permalink structure and then select Save changes. This will revert permalinks back to the preferred structure.
Note: If you want to reset permalinks to the default WordPress structure, choose the Plain permalink structure.
The 404 error on your posts and pages should be resolved now, and URLs on your site should display the chosen permalink structure.
More info
- If you can't access your WordPress Dashboard, try resetting permalinks in the database.
- If you don't want to reset permalinks yourself, our WordPress Premium Support team can do that for you.