WordPress: fix the 404 Error on custom post types
- Go to Settings → Permalinks and change your current structure to /%category%/%postname% .
- Save changes.
- Restore your original permalink settings.
- Save changes.
WordPress: fix the 404 Error on custom post types