Custom post type category archive URL redirects to home page

Change ‘public’ => false, to ‘public’ => true, when using register_taxonomy(). Also, don’t use capital letters for the post type name in register_post_type(). Here’s the full updated code (make sure to save permalinks after updating your code): add_action( ‘init’, ‘create_project_taxonomies’, 0 ); add_action( ‘init’, ‘create_posttype’ ); function create_posttype() { $args = array( ‘labels’ => array(‘name’=>__(‘Projects’), … Read more