/tag/thetag/
is the correct default permalink for a tag archive. There is no concept of per-post type taxonomy archives, just a single archive for all types.
The issue you have with a 404 on those pages if they only contain custom post types, is that the built in tag and category taxonomy archives by default only query the post
post type. If you want to add custom types to that you need to hook pre_get_posts
and add your custom types to those queries.
function wpd_custom_types_on_tag_archives( $query ){
if( $query->is_tag() && $query->is_main_query() ){
$query->set( 'post_type', array( 'post', 'your_custom_type' ) );
}
}
add_action( 'pre_get_posts', 'wpd_custom_types_on_tag_archives' );
Related Posts:
- Categories and Tags not working!
- How to remove custom post type archive
- How to use a custom post type archive as front page?
- Custom Post Type Archives by Year & Month?
- Get custom post type slug for an archive page
- Create a custom archive page for a custom post type in a plugin
- Custom Post Type Settings page, choose page to display archive
- Adding a menu item for a Custom Post Archive
- Custom Post Type Archive Page not showing
- Adding custom post type archives to a WordPress menu
- How to set a custom post type to have viewable future posts
- List all the tags from a custom post type
- Custom Post Type Template – Archive
- Page Template as Custom Post Type Archive
- Custom post type yearly/ monthly archive permalinks
- tag.php doesn’t work with tags on a custom post type post?
- Can’t get post id on page that is a custom post type archive
- How can I include custom post types on a tag page?
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Taxonomy count per Post type
- How do you create an archive for a custom post type from a plugin?
- Proper way of making custom post type landing page or archive page
- Custom Post Type Archives by Date with Custom Permalink
- Load custom posts with same tag as page
- How to List All Custom Post Types Names (Not Posts)
- post_tag taxonomy with custom post type
- Change title in head on Archive page
- Adding post tags to custom post types
- Custom Post Type Archives with 0 Posts Redirects as 404
- show tags of custom post type ONLY
- Tag list & tag index for custom post type
- How to filter custom post type archive by meta value
- What are the advantages of using a custom post type archive?
- Page is defaulting to archive page and not designated template
- custom post type archive page url to point to Page permalink
- “Edit” option for custom post types archive page
- Undefined property: stdClass::$labels in general-template.php post_type_archive_title()
- Find callback function for custom taxonomy metabox
- Custom Post Type archive as front page
- Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?
- Get posts with tag all post types
- Get monthly archives for custom post type
- Is it possible to remove the posts_per_page limit on a specific post type?
- Add Settings to Custom Post Type
- Is it possible to have an index page for taxonomy term for each custom post type it is assigned to?
- Custom post type permalink structure with the category also acting as an archive
- How to get_queried_object on multiple objects?
- Custom Post Type Works but Still Shows “Page Not Found”
- Search Custom Post Type with all meta attached?
- Assign Page Template Within A Custom Post Type
- Custom Post Type / Taxonomy Slug / Post Title with post type archive
- Rewrite custom post type url’s adding meta box values
- Show certain terms from custom taxonomy but exclude ‘parent’ terms?
- I can’t set meta_key in my custom post type query
- Hide child term posts on parent term pages
- Posts per Page on custom Taxonomy Template
- Compare 3 custom fields and sort by oldest
- Post type archive page not working
- Custom post type tag archives don’t work for basic loop?
- Adding Sticky functionality to Custom Post Type Archives
- Exclude Custom Post Type & Pages From Auto-Tag Function
- Adding An Author Tag To Posts Automatically
- paginate function in archive for custom-post-type
- Adding custom post types to archive.php
- Custom Post Type – Archive page title
- Alphabetical sorting of custom post type – one letter per page
- List all posts in Custom Post Type but group dynamically by Custom Taxonomies
- Archive page for taxonomy of custom post type
- Add meta data to the custom post type ARCHIVES page
- Should I change these content meta types before building complex archive page?
- archive-{$post_type}.php not loading. instead the default archive.php loads
- Getting taxonomy terms used by custom post type
- Custom post type archive sorted and grouped by date in post meta field
- How to search from specific post type with tags?
- Archive or taxonomy pages not working for custom post type
- Custom post type with tags
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- Custom Post Type archive giving 404
- Tag.php not displaying posts with the tag
- How to create archive page for taxonomy terms within custom post type
- Registering tags taxonomy for a custom post type
- Query for custom posts with a specific tag slug
- How to make an archive page displaying posts in a date range
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- associate custom post type with tags with specific pages
- Is it possible to make tag archive page specific to Custom Post Type?
- Custom query variable – get wordpress to redirect to nice permalink url
- WordPress custom post type archive with description
- Custom-post-type-archive: posts sorted/filtered by year?
- How to list custom post types?
- I am facing problem in my archive page , it is partially working
- add_rewrite_endpoint() and Custom Post Type Archive
- Custom post type archive page pagination
- Add the current menu item CSS class to a custom page type archive in WordPress menu
- Display Next/Prev when looping Custom post-types archive?
- Search doesn’t find tags or categories in custom post types
- Add custom post type archives to search results?
- Archive page for custom post type not working
- taxonomy template for custom post type the same as the archive
- Editable content on a Custom Archive page