The issue you’re facing might be due to a conflict with the slug of your custom post type and a page, post, or another custom post type.
From the JSON you’ve provided, it seems like the slug for your Videos CPT is resources/videos
. If there’s a page or post with the slug videos
or resources
, it might be causing the issue.
Here are a few things you can try:
-
Check if there’s a page, post, or another custom post type with the slug
videos
orresources
. If there is, try changing the slug of that page, post, or custom post type. -
Try changing the slug of your Videos CPT to something unique that doesn’t conflict with any other slugs on your site. You can do this by changing the
slug
value in therewrite
array of your Videos CPT. For example:"rewrite": { "permalink_rewrite": "custom_permalink", "slug": "unique-videos-slug", "with_front": "1", "feeds": "1", "pages": "1" },
Related Posts:
- Getting hierarchical custom post type permalinks to work just like pages
- Custom post type 404s with rewriting even after resetting permalinks
- 404 on child page when parent page slug is identical to custom post type
- Hierachical Custom post types permalinks not working
- Remove Slug from Custom Post Type results in 404
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- custom post type and custom taxonomy url conflict
- Bizarre Permalinks Issue: 404 Errors Everywhere
- Custom taxonomy in URL showing 404
- Help with Elementor Pagination CPT archive 404 problem
- Using taxonomy term in CPT permalink – Pages 404’s
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Custom post type archive pagination 404
- Custom post type permalink tag 404
- Hierarchical permalinks for custom post type and taxonomy
- 404 in custom post type feed with mistake permalink
- How to solve this custom post type goes to 404 page?
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- One Custom post type 404’s others don’t
- Custom post type permalink returns 404 when set to private
- Custom post type slug 404
- How to filter a custom post type by custom taxonomy without 404
- Post type Permalink
- Permalink Trouble with custom post types
- Permalinks not working (404) for the ‘item’ post type
- Safe to throw 404 error in request filter?
- Custom Post Type Child Won’t Come Through With Pretty Permalinks
- Custom post shows 404 after theme change
- How can I get custom post types to recognize pretty permalink variables?
- Enabling hierarchical in a Custom Post Type gives error 404
- Standard Page Child of CPT Not Found (404)
- Some permalinks on Apache/localhost development setup return 404’s when set to anything other than plain permalinks
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Custom Post Type, 404 error
- Custom Post Type Permalink / Rewrite not working immediately
- How to remove /blog/ prefix for custom post types in permalinks?
- WordPress Custom Post Type is Matching on Partial Slug
- Change slug of registered custom post type in child theme
- Templates for Custom Post Types and Custom Taxonomies
- How to disable a Custom Post Type Feed?
- Custom permalinks
- Permalink for CPT with taxonomy
- Custom post type permalink changing itself every other change
- Add links to post categories and taxonomies in wysiwyg link modal?
- Custom Post Type Works but Still Shows “Page Not Found”
- WordPress custom post type category pagination 404 Error
- Custom Permalinks for Custom Post Types and Taxonomies
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- Custom post type category, taxonomy and URL rewrite problem
- Rewrite on custom post type permalink not working?
- Custom Post Type: How to display all of same taxonomy?
- Custom post type permalink missing /post_type/ front
- Remove “-2” from a Toolset Types URL with the same post name
- custom post type default permalink
- Permalinks not working for custom taxonomy on custom post type
- Custom Post Type permalink shows wrong page: homepage/index.php
- Does WordPress consider a post name unique if that same post name is in multiple Post Types?
- Custom post type as home page with custom url
- Custom post URL 404 error
- URL rewrite add author as base
- Single post with a Custom Post Type returns 404, when archives of the CPT work correctly
- WordPress randomly shows 404 errors
- CPT’s with landing page instead of archive – Url Rewrite?
- Custom Post Type – Duplicate Page Slugs
- Custom post type pagination 404
- Remove permalink for custom post type
- How to have permalink like domain.com/term/postname?
- how to retain the ability to modify the post slug after applying a post_type_link filter?
- Pagination of custom post type leads to 404 error
- Custom permalink structure for remote content pages
- Adding an extra parameter [string] to my posts’ permalink?
- Custom Post Type nest under a normal WordPress Page
- Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?
- Wp PageNavi only works with default permalinks on a custom post type?
- Custom category URL not displaying posts
- Change permalink for custom post type?
- Use a different URL path / permalink for CPT
- Permalinks: custom post type -> custom taxonomy -> custom sub taxonomy -> post
- Pretty Permalinks with CTP and Taxonomies / Hierarchical
- % encoded URL giving 404 error in WordPress
- How can i remove post type archive URL?
- Custom post type URL structure with site.com/custom_taxonomy_slug/post_name
- 404 error next-page [2] PageNavi custom type taxonomy
- Links Image in “Catalog” Page to Posts
- Why does my plugin require a permalink reset after a new installation?
- Multiple post types or single post type with category taxonomy?
- Get full control over custom post type url
- Custom Post Type with /%shop_name%/gallery/%gallery% permastruct?
- Customizing the custom post type permalink
- Adding 2 CPT with multiple custom taxonomies to permalinks
- Custom Post Type permalink not working on new posts
- Storing postID in session variable to query database when visitor on custom template page
- Submiting custom form give error 404
- Is it possible to remove the word “date” from archives?
- Permalink for regular posts “/blog/”
- Custom post type split title, setup permalink accordingly
- Multiple custom post type in URL
- Two Permalinks with one Taxonomy (custom taxonomy) and (custom post type -> custom taxonomy)
- Custom post type REST api 404: Updating failed. No route was found matching the URL and request method
- Have Custom Taxonomy Slug Fall Under Custom Post Type Slug