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 Display Content from Search URLs on Permanent URLs in WordPress?
- 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?
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- Rewrite Question Mark in Post Template to Make it Pretty URL
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Custom post taxonomies as tax_query terms?
- Get related posts of child term of custom post type
- Limit amount of posts made within a custom taxonomy
- How can achieve this permalink perfectly? domain.com/%category%/%post-name%
- custom-taxonomy/post_name instead of the default post_type/post_name
- Show custom post archive when custom post not specified
- Show custom post type relationships by taxonomy
- Issue on Creating Custom Tax Term Dynamically From Another CPT Meta-box On Publish
- Assign same parrent Page to pages AND custom post types
- Can’t remove front from permalinks for custom taxonomy category page
- Changing the search url according to language
- WordPress custom post type permalink rewrite shows page not found
- How to set a CPT to have a page as a parent, then rewrite urls accordingly?
- Completely remove custom post type permalinks (“One Page” website)
- Using taxonomy term in CPT permalink – Pages 404’s
- list taxonomies from a custom post type
- Display a grid of taxonomy terms at root taxonomy page
- Removing custom post type slug from URL
- How to add rewrite rule to custom post type with parent in url with cpt ui?
- Custom post type as home page with custom url
- Customize Custom Post Type URL
- Show child custom post types list inside single parent custom post type
- limit value taxonomy based on previous taxonomy value wordpress
- Create a custom php page and load it at a specific slug
- URL rewrite add author as base
- Remove CPT name from permalink but add %category% instead
- Permalinks /country/city/cpt/postname/
- Custom Permalink to remove category word , keeping posts permalink with date?
- Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
- Several post types on WP Query by tag and taxonomy
- Seamless permalinks between Custom Taxonomy and Custom Posts
- Using meta_query and tax_query at the same time
- Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
- How do I display the taxonomy for a custom post type in an array
- Need help with permalink rewrites for Custom Post Types with hierarchical relationships
- Custom Post Type Permalink empty
- Set a CPT slug as a base name for all the taxonomies
- Custom Permalinks with CPT and Hierarchical Taxonomies
- How to conditionally redirect to the post from a taxonomy page?
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- How do I display the grand child items of a taxonomy term?
- Taxonomies relations
- Is it better to use WordPress Custom Post Types or Taxonomies?
- Change custom post type permalink to show name of post from another custom post type?
- Custom Post Type Permalink
- Full Custom Post Type List Organised by two Taxonomies
- WordPress Doesn’t Generate Taxonomy Archive
- WordPress randomly shows 404 errors
- Permalinks for custom post type
- How to have this permalink structure: post_type/postname/custom_inner_page
- Suggested Post and Taxonomy structure
- Additional section in custom post type permalink
- How to include term custom meta into the custom taxonomy term permalink structure
- Blog posts for custom post type only
- Path to custom post type
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page