This might be a quick fix for your custom post type 404 error page.
Navigate to Settings > Permalinks, and then click the Save Changes button.
Then comeback to check if the links doesn’t give you a 404 error.
Related Posts:
- Prevent pre_get_posts filter on specific post type
- Custom post type archive 404’s with paginate_links
- How to put custom post types on front page
- Include post id[s] into WP_Query()
- Pre_get_posts Gives 404 on Custom Post Type
- How Do I Use WP_Query to Run This Database Query as Search Result?
- Can’t sort order of wp_query with 2 meta keys
- Display all Posts and only certain Custom Post Types with meta fields
- Wrong request query on cpt and tax
- Custom WP_Query always respond with 200 status even when no entry
- How to query for posts (hierarchical custom post type) that have children but are NOT top level?
- Query to Exclude Child Pages from Custom Post Type Archive
- How can I get custom post types to recognize pretty permalink variables?
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- How do I sort post listing by child post count?
- Showing posts from different categories and from custom post type
- Custom post type search using $_SESSION and pre_get_posts
- Get latest 3 posts from multiple CPT in one query
- Loop to fetch 3 post_thumbnail instances from 3 most recent custom post types named “portfolio”
- Display upcoming Events for next 7 Days
- How do I display content to users who are not logged in instead of 404 on Private custom posts?
- Isotope Filtering with Bootstrap Tabs – Custom Post Type Query Loop in each Tab (Have to click twice to filter)
- Custom post ui plugin & WP_Query – Polylang
- Help with Elementor Pagination CPT archive 404 problem
- How can I get the number of custom post type posts that have a specific attachment image set?
- How to use load more custom post type data normal or according to on click category tab In WP
- orderby rand is not working for a custom post types
- Problem querying Custom post type by custom fields
- Orderby CPT custom fields not working
- Custom taxonomy rewrite give pagination 404
- How to sort custom columns for custom post type without meta query and pre_get_posts?
- WP_Query order by custom field, then randomly order some of results
- Trouble with CPT Child 404
- WP_Query inside foreach loop returning same value for all options when filtered using ajax
- Mixing 2 custom post types with posts output in specific pattern
- Custom post taxonomies as tax_query terms?
- creat filter with wp_query
- Troubles with acf/save_post and WP_Query
- A method for ordering mixed dates in search result loop (theory only, no actual code)
- Query custom post type with ACF Date
- How to do WP_Query with two meta fields with orderby clause
- Stuck in Order by more then one
- Display featured image from one CPT within another CPT query
- Custom WP Query on custom meta and sort by multiple meta keys value
- Show only one post on custom post type archive
- Woocommerce search pagination not working
- Using taxonomy term in CPT permalink – Pages 404’s
- How to order WP_Query by parent for hierarchical Custom Post Type?
- Including metaboxes from custom post types in global search — continued
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- How can I made custom taxonomies relationship?
- Query Multiple Custom Posts by Custom Fields
- What’s the WP way to load remaining custom posts?
- Custom post URL 404 error
- Why is this query not working? (Standard posts + custom post type)
- How do you paginate a query grouped by month?
- Custom taxonomies relationship
- Get Posts by multiple custom fields is not working
- Single post with a Custom Post Type returns 404, when archives of the CPT work correctly
- Custom post type ‘articles’ ignores posts_per_page, reserved post_type?
- Several post types on WP Query by tag and taxonomy
- WP Query with categories only shows one post and ignores the category
- Polylang non-default language ignores tags in WP_Query
- WordPress request fiter order by related post’s post_title
- Custom Widget WP_Query problem
- Set a CPT slug as a base name for all the taxonomies
- Custom query at top of archive search page, arguments are overridden
- Order Custom Post Type by Custom Field Value
- WP_Query custom post type query not showing the exact post type
- How to display post list inside post
- Pagination issue on category.php using custom post type query
- How to prevent a CPT’s slug and page slug from conflicting with each other?
- WordPress randomly shows 404 errors
- How to have this permalink structure: post_type/postname/custom_inner_page
- Problem: wp_query outputs all images on site
- Query Custom Post Type Taxonomy term with multiple parameters
- Sort entries by date mixing two post types
- Why is my category template ignoring post type?
- First custom field value (out of several) displayed twice after query
- wp_reset_postdata() and wp_reset_query() inside shortcode are not working to reset original page query
- Prioritize posts in query by meta keys?
- Custom Post Type Archive Error, Takes Last Post as Title and Doesn’t Work
- Change sort order when using ‘orderby’ => ‘type’
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Custom post type archive pagination 404
- Add Custom Post Type of specific Custom Taxonomy to regularly blog loop
- How to get all tags of a custom post type by id
- Custom post type permalink tag 404
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Filter Posts from the Main Query
- WP_Query orderby and tax_query
- I am trying to hide a custom post type category to logged in users with Pre_Get_Posts
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Different Ways to Query Custom Post Types?
- Hierarchical permalinks for custom post type and taxonomy
- Order posts by 2 custom fields and if one custom field is zero orderby another custom field
- Pagination with custom query, custom search form, single and pages, ajax and no plugins
- Possible to filter custom post type with multiple meta data?
- Top Level pages in wordpress giving 404, but child pages working fine
- can these 3 queries be re-written as 1 query?