Most of the time, if a custom post type single page shows a 404 error, there is 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 stucture, it may be related to your server. Be sure that you hosting service provides the mod_rewrite PHP extension.

0