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?
- Change permalinks for posts but not for custom post types
- Custom post type permalink: only use %post_id% and remove %postname%
- 404 on child page when parent page slug is identical to custom post type
- How do I list custom taxonomy terms without the links?
- rewrite get parameter with custom post type
- Order Posts by Taxonomy and Meta Value
- It is possible to get a list of post types asociated to a taxonomy?
- display multiple term post from taxonomy in a single page
- Group Custom post type in a page by its taxomony tag
- dynamically update permalink and title with the values of custom fileds
- Change permalink structure for custom post type
- Rewrite Custom Post Type URL slug
- Permalinks without post type
- How to remove custom post type name from base url?
- Custom post type – how can I make it a sub-url of another page?
- Custom fields in Permalinks?
- URI returns a post when it should return a 404
- Query string parameters from custom fields, inconsistent results
- Custom post type permalinks
- Use different taxonomies in different custom post types’ permalinks?
- wp_set_object_terms() not adding new term to custom post and custom taxonomy
- How can I update the permalink everywhere for a custom post type?
- How to hook custom taxonomies to custom post types and make the permalinks work?
- Categories of custom taxonomy don’t show any posts
- Is it possible to have dedicated page for parent/child taxonomy?
- How to have the same url structure for both a CPT and a Taxonomy?
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- limit value taxonomy based on previous taxonomy value wordpress
- Blog posts for custom post type only
- Custom post type, permalinks, taxonomies and blog posts
- Custom post type permalink returns 404
- How to organise this data within WordPress
- 404 in custom post type feed with mistake permalink
- How to query 2 custom post types that need to share a slug?
- Custom post type as child of page
- Associate all Custom Post Types with Taxonomy
- How to implement a different permalink structure for custom post type?
- WordPress custom permalink and archive link for custom post type
- Enabling permalinks disables custom page template
- Query Custom Posts – Add To Selection
- Add unique ID number to end of permalink
- Query Custom Post Type by Taxonomy
- Display ONE taxonomy and its assigned pages
- Set priority to permalinks
- How to keep WP from creating a “single-post” page and let the user input the link of the post in the dashboard?
- CPT relations use in permalinks under single post type
- How to display all terms from all taxonomies in post, but separately for each taxonomy?
- Custom post type and taxonomy same slug
- Single taxonomy for different custom post types
- Best approach to allow front-end display of posts’ reviewers?
- Custom Post Type Taxonomy – Permalinks generating, but posts not found
- Custom Post Type and Taxonomies, creating the corresponding template file and loop the data
- Custom url for custom post types
- Can’t make permalink of CPT work
- Issue with permalinks for custom post type
- Adding rewrite rules to Custom Post-type mixed with Taxonomy
- List a custom post type’s posts ordered by nested custom taxonomy
- “regular” pages not found after changing permalink
- Linking from a list of custom post type items to a single – get_post_permalink not working correctly
- Tags and Taxonomy links not working for Custom Post Types
- Can I have a specific template for products even if they are standard posts and not CPT?
- Allow child pages with the same base as the CPT slug