Link custom post type to page

In WP Admin go to Settings -> Permalinks and Save Changes. You don’t need to change anything, just save. This resets wordpress rewrite rules which usually fixes 404 errors with newly added CPTs.