In order to get SEF (Search Engine Friendly Urls ). Its good we enable permalinks. To enable permalinks. Go to Settings > Permalinks . This is where you can change your permalink structure.
choose Post name option and click on the “Save Changes” button.
[su_lightbox type=”image” src=”http://janxcode.com/support/wp-content/uploads/2016/03/permalink.png”][/su_lightbox]This step is to prevent any 404 errors on custom post type pages.
Trouble Shooting Tips
If pages display 404 .then make sure mod rewrite is enabled on the server. Only then friendly urls will work . Also check permissions of the .htaccess file on your server if its writable to make the urls work.