Try updating permalinks in settings. If that doesn’t work please provide the code for your register_posttype function.
both the pages are not loaded
…meaning you get 404 errors, or the correct content loads but in the wrong templates? when new post types are added, you will get 404 errors using pretty permalinks until you flush the rewrite rules. this can be achieved by visiting the permalinks settings page.
9
solved Custom Post Type single and archive pages are not working