Page vs Custom Post Types Differences/Issues
Your rule doesn’t work for custom post types because pagename is the query var specific to the page post type. Your CPT query vars are the slugs you registered them with, doujinshi_en and doujinshi_jp. You might be able to fix it by adding in additional post types via pre_get_posts: function wpd_add_custom_types( $query ){ if( $query->is_main_query() … Read more