404 error page

Most of the time, if a custom post type single page shows a 404 error, there is a simple thing to do to fix this:

Go to your WordPress settings -> permalinks and hit the “Save” button.

If you still encounter errors with your permalink structure, it may be related to your server. Be sure that you hosting service provides the mod_rewrite PHP extension.