It appears from your post that somehow the rewrite rules in your .htaccess file were lost/reset/corrupted.
As long as your register_post_type() code remains unchanges, you can visit “Settings > Permalinks” to reset them and fix your issue.
Related Posts:
- Add .html (dot HTML) extension to custom post types
- How to change permalink structure for custom post type and it’s taxonomies?
- How do I append multiple taxonomies to the URL?
- Taxonomy term in permalink
- Disable Single Post View for Specific Taxonomy on Custom Post Type
- Change the url of Projects in Divi Theme
- Disable WordPress Recognizing Path as Attachment
- Custom Post Type: How to display all of same taxonomy?
- Remove “-2” from a Toolset Types URL with the same post name
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- Permalinks for Taxonomy and Custom Post Type
- Get a permalink structure of /%posttype%/%category%/%postname%
- How do I get the permalink structure to work like this?
- Bizarre Permalinks Issue: 404 Errors Everywhere
- Update permalinks when new category added to custom post type taxonomy
- Custom Post type and permalink settings
- How to build custom route by adding taxonomies to URL ? ex: www.demo.com/communities/palo-alto/
- create a subcatagory for a custom post type and out put url as posttype/subcategory/item
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Taxonomy in URL
- retrieve permalinks of posts inside custom post type by using post ID
- Custom Post Type with modified permalink structure results in 404
- Using page title as a link to term archive
- How to use taxonomy term as permalink folder
- Duplicate slug/permalink issue while adding same post name
- I want to rewrite the URL of a specific post with a specific custom field to easily analyze in Google Analytics
- Preview url not working outside wp-admin
- Custom permalink structure for custom post types including multiple taxonomy
- CPT – Custom Text fields point to new url permalinks
- Permalinks for a custom post type – with a page template (custom query) and taxonomy archive
- Custom post type with parent page? Possible?
- Get full control over custom post type url
- How to switch from custom post type URL to category URL?
- Problems with custom post type and hierarchical permalinks
- Single and Archive Pages with Custom Post Type
- Hide custom post type slug url from search engine [closed]
- Is it possible for post and custom post type to share a category base slug?
- How do I get parameters from the URL?
- How to get taxonomy category in permalink for each taxonomy OR How to give a parent page to a given taxonomy?
- How to correctly edit permalink structures for both default and custom posts/taxonomies?
- Custom post types, taxonomies, and permalinks
- Adding categories to custom post type in permalink
- Saving Taxonomy Terms
- Get Posts by Custom Post Type ,Taxonomy, and Term
- Nested custom post types with permalinks
- Custom rewrite rules for archive page and single post
- WordPress Rewrite Rules for Custom Post Type and Taxonomy
- Custom post type 404s with rewriting even after resetting permalinks
- Rewrite rule for Custom post type Monthly and Yearly archive
- Numeric slug on child post
- Having a custom post slug that clashes with an existing directory
- Help with a TV series Rewrite structure
- Remove quick edit for custom post type
- Count posts that have specific taxonomy term attached
- Taxonomy archives based on Custom Post Type
- Get the ‘slug’ of a custom taxonomy
- post_type_link filter causes 404 on the CPT page it’s used on
- Custom Metabox with Taxonomy Dropdown – Saving Issue
- Pagination throws 404
- Pretty paged permalinks in custom post type loop
- Permalinks for CPT breaks permalinks to pages
- WordPress custom post type url change
- Adding a term name from a custom taxonomy assigned to a post link displayed by a wp_query loop based on another taxonomy
- Remove Slug from Custom Post Type results in 404
- create a back-end wordpress content submission using custom post type
- Include custom post type in “all posts”
- single-type.php not working, delivering 404
- Displaying related posts in a custom post type by a custom taxonomy
- How does one flush rules on theme activation or deactivation only?
- Page to display an archive of taxonomies
- How to create a permalink for custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- How to show custom taxonomy in the permalink?
- Date-based permalinks for Custom Post Type, and custom taxonomy permalinks
- Get all taxonomies for all post types
- WordPress rewrite my URL when i use pagination
- Permalinks for custom post-types within custom taxonomies not found
- How to list custom post types?
- After updating a page, all pages on the site used the index.php template
- Custom Post Types and Categories?
- Parent & Child Taxonomy slugs in custom post permalink
- Custom Post Types and independent Categories – complex Taxonomy
- Easy way to change custom post type name for permalinks?
- Tag page with Custom Post Types not returning any posts
- Use menus with anchors
- Permalink structure by Post Meta value
- custom post type parsed as attachment
- Custom Taxonomy back-end customizations
- How to make a proper custom post type link
- URLs for child terms
- WordPress Custom Post Type Permalinks dynamic term slugs
- How to add rewrite rule to custom post type with parent in url with cpt ui?
- Create a custom php page and load it at a specific slug
- Permalinks /country/city/cpt/postname/
- Seamless permalinks between Custom Taxonomy and Custom Posts
- Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
- How to conditionally redirect to the post from a taxonomy page?
- Path to custom post type
- How to change permalink to include custom post type
- How do I share categories across multiple post types?
- Make custom post types and pages place nice, re: rewrite