Single custom post type page redirecting to 404 page
Newly registered CPT shows 404 because, the register_post_type() doesn’t flush the rewrite rules. So it’s up to you, whether you want to do it manually or automatically. Manually: Get to /wp-admin/, then Settings » Permalinks, and then just hit the Save Changes button to flush the rewrite rules. Automatically: You can flush the rewrite rules … Read more