if i use custom category for custom posts its single page shows 404 error else it’s working good in wordpress September 20, 2022 by Tarik Billa Slug for post type and taxonomy is same please change the slug for taxonomy… Sorry initially I did not checked your code.