Custom Post Types, Single Posts returning 404 Errors – flushing permalinks does not correct

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:

  1. Check if there’s a page, post, or another custom post type with the slug videos or resources. If there is, try changing the slug of that page, post, or custom post type.

  2. 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 the rewrite array of your Videos CPT. For example:

     "rewrite": {
         "permalink_rewrite": "custom_permalink",
         "slug": "unique-videos-slug",
         "with_front": "1",
         "feeds": "1",
         "pages": "1"
     },