Knowledge base
Categories
Custom post types return 404 errors
Sometimes installing or updating a theme or plugin might cause WordPress to give you 404 errors when trying to access custom post types, usually the solution is to refresh your permalink structure. To do that, go to Settings > Permalinks and press the Save Changes button. Now go back and check the problematic posts again.