404 Page Not Found on /Page/2/ on Tag Page

Nevermind. I forgot to add this in my functions.php. I will leave the answer here so it may help others. //Tag pagination pages function wpd_custom_types_on_tag_archives( $query ){ if( $query->is_tag() && $query->is_main_query() ){ $query->set( ‘post_type’, array( ‘portal’ ) ); } } add_action( ‘pre_get_posts’, ‘wpd_custom_types_on_tag_archives’ );

Replicating category/location page heirarchy

You can make CPT’s have “slugless” permalinks fairly easily: register_post_type( ‘service’, [ ‘hierarchical’ => true, ‘public’ => true, // Other args, no need for “rewrite” ]); // Change service to top-level permalink. add_permastruct( ‘service’, ‘%service%’, [ ‘with_front’ => false, ‘paged’ => false, ‘feed’ => false, ]); // Remove all default service rewrite rules. add_filter( ‘service_rewrite_rules’, … Read more