The old permalinks still work because the rewrite rules that support those permalinks still exist. When you register a post type, setting the rewrite
argument generates the rules to resolve incoming requests. Rather than adding new rules in addition to the originals, just alter the original post type registration.
Related Posts:
- WordPress Rewrite Rules for Custom Post Type and Taxonomy
- How to modify URL structures in custom post types and taxonomies or terms
- Archive page with multiple taxonomies rewrite
- Taxonomy archives based on Custom Post Type
- Permalink rewrite with custom post type and custom taxonomy
- WP Rewrite Rules – Custom post type & taxonomy
- Remove base slug in CPT & CT, use CT in permalink
- Custom Permalink Tag breaks Pagination
- Custom Permalink for Taxonimie and Custom Post Type
- how to get archive urls with same origin for custom types and terms?
- Permalink Structure CPT With Custom Taxonomy Fails
- Remove url rewrites for registered taxonomies
- Customize Custom Post Type URL
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- Custom taxonomy rewrite with query var returns %2F in URL
- WP Rewrite Rule Issue while using Custom post type & taxonomy
- Custom Permalinks with CPT and Hierarchical Taxonomies
- How to get list of taxonomy slugs ordered parents>childs?
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- WordPress custom permalink and archive link for custom post type
- How to rewrite the post slug of a custom post type post
- Modifying rewrite rules to use /category//
- Custom taxonomy and post type rewrite rules
- Remove cpt slug from url and use custom taxonomy instead breaks all other cpt
- How to properly set the rewrite rules for this case?
- Change CPT permalink to use the category
- How to fix 404 on post after prepending Custom Post Type url with Custom Taxonomy Term slug
- Redirect Custom Post Type from Child Taxonomies
- How to build overlapping custom post_type and taxonomy rewrites without conflicts?
- Custom Post Type rewrite url to /category/pagetitle [duplicate]
- page not found for example.com/custom-post-name
- Why won’t this rewrite rule work?
- Parent cpt/child custom post type URL permalink relationship
- Custom Taxonomy in Permalink from post type
- Rewriting a custom-post-type permalink with taxonomy term?
- Custom Post Type Permalink / Rewrite not working immediately
- Multiple post types – share same ReWrite slug?
- Custom permalinks
- WordPress Custom Post Type Category Page
- Issues when rewrite rules collide?
- Custom Permalinks for Custom Post Types and Taxonomies
- WordPress returns 404 on custom rewrite rule conflict in parameters
- Need help with complex custom post type setup
- How to rewrite custom post type URL for multiple depths instead of one specific depth
- Custom post type category, taxonomy and URL rewrite problem
- WordPress Rewrite rule for nested post types
- Category base to url in custom post type/taxonomy
- Add hierarchical taxonomy to permalink for custom post type
- How to Combine Two Custom Post Types into Single Permalink Structure
- How to rewrite custom post type with custom taxonomy urls?
- Custom taxonomy in URL showing 404
- Rewrite slug of custom post type to include post-id
- wp_list_categories() – current-cat class also inside posts?
- Custom Post Types, URL rewrite on multiple CPTs
- How to change custom post type permalink structure
- Front custom edit post page for each post
- Adding custom post category slug in permalink causes 404 error for pages and posts
- How can I use get_post_meta with add_rewrite_rule to build custom permalinks?
- How Can I Change the Custom Post Type Slug to the Taxonomy Slug in the URL?
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- Rewrite Question Mark in Post Template to Make it Pretty URL
- How to rewrite url for any specific taxonomy?
- Custom post URL 404 error
- cpt and page sharing same base permalink
- Including taxonomy term before post type breaks top level pages
- Correct procedure for advanced permalinks
- CPT’s with landing page instead of archive – Url Rewrite?
- Rewrite Endpoints and CPTs – How to use in a plugin
- Custom taxonomy and post type with same slug
- Best way to specify “article type” in URL
- I can’t access custom taxonomy page listing
- Combine multiple CPT names to create valid permalinks
- rewriterule not working
- Custom Post Type View Button in Admin Gives 400 Error
- Add Custom Values to Permalinks Through Custom Fields and Posts
- Archive page for custom post type and custom taxonomy
- Custom Post Type URL Rewrite’s
- rewrite rules hierarchical
- Rewrite URL for CPT to domain/post-name/post-id
- How to apply multiple rewrite_rule to a single custom post type url?
- Remove custom permalink base from CPT custom category and custom tags
- How to handle this wordpress custom post type rewrite problem?
- Custom permalink structure for custom post types including multiple taxonomy
- CPTs relationship
- Permalinks: custom post type -> custom taxonomy -> custom sub taxonomy -> post
- Pretty Permalinks with CTP and Taxonomies / Hierarchical
- Rewrite url for custom post type with specific url
- Customise Permalink Structure For Custom Post Types
- Custom taxanomy and custom post type – pagination leads to 404
- Two CPT: one is using part of the custom rewrite slug from the other
- Custom taxonomy archive slug overwrites static page
- Group based routing and administration
- Adding Custom Taxonomy Along-with Post Name in Post Type Permalink
- I have a custom taxonomy assigned to two post types. How do I create URLs for different term archives for each post type?
- Rewrite Rule & Regex – Extract ‘cat-name’ and ‘page-number’ from http://domain.com/custom-post-type/category/cat-name/page/page-number
- How to change custom post type slug without damage seo? [closed]
- add_rewrite_rule not working in Custom Post Type UI Plugin
- Rewrite Rule for custom post type link with or without taxonomy terms
- Custom post type with custom taxonomies structure url not working archive of CPT