If you are not calling flush_rewrite_rules() in your activation hook, try it.
Related Posts:
- Add extra parameters after permalink?
- Where, When, & How to Properly Flush Rewrite Rules Within the Scope of a Plugin?
- How to remove slug from hierarchical custom types in 3.5.2
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- Taxonomy, Terms, and Template Files
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Custom post type permalink is doesn’t show in admin
- Is there a way to use regular categories with custom post types?
- Adding meta values to permalink
- Hierachical Custom post types permalinks not working
- Custom Posttype Inheritance (and url structure)
- Custom Post Type Permalink For Parent/Child, 404 Page Not Found Error
- Can you have two CPTs with the same permalink structure?
- Rewrite permalinks for custom posttype and custom taxonomy
- How to check if last uri segment is a custom post type or taxonomy term?
- Custom taxonomy & post slug permalink
- Including two taxonomies in a permalink structure
- WP Rewrite Rules – Custom post type & taxonomy
- how to use two permalinks for one custom post type
- Custom Taxonomy List links being re-written
- Custom Post Types, Custom Taxonomies and Permalinks ?
- Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links
- What is better: Custom Fields vs Custom Taxonomies with Terms for perfomance, scalability and better user experience
- Custom Permalink Tag breaks Pagination
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Custom post type hierarchical permalinks not behaving as expected for parent/child pages
- Extend the wp_get_archives output with ‘?post_type=foo’?
- removing custom tax & CPT slug, adding taxonomy term in front of custom type
- Custom post type and taxonomy permalinks – Structure
- Custom Post Type and Custom Taxonomy Permalinks
- Function to get permalink of custom post type archives?
- Custom post type template and custom post page not working
- remove permalink “front part” for custom post type
- Change Permalink Structure for Tag.php template
- Bizarre Permalinks Issue: 404 Errors Everywhere
- Remove post type slug of all post types from permalinks
- Making a custom help center page
- Add archive slug to default post post type
- Custom Post type and permalink settings
- add category name to permalinks on product page /category-name/product-name
- WordPress add_permastruct unwanted matches
- Permalink for a custom post type isn’t working and I don’t know why
- Add custom post type settings to wordress default posts
- Assign same parrent Page to pages AND custom post types
- WordPress custom post type permalink rewrite shows page not found
- Removing custom post type slug from URL
- Custom taxonomy returns 404
- Removing Custom Permalink Structure for Custom Post Type
- permalink /category/post-name with custom post type and taxonomy
- Flush Rewrite Rules when new site is created on network
- Pretty URLs and custom post types
- Lost of query parameter when using permalink
- Different results between permalink and query var search
- Custom post type Permalinks with hierarchical Taxonomies
- How do you create %post_type%/%postname%/ permalink structure?
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- Can’t use pagination with custom taxonomy
- make permalink go to a custom single.php file
- Post URL based on Custom Post Types variables
- Dynamic CPT permalink structure based on ACF field value
- Custom permalink not working and showing 404 page not error
- get the permalink never return with empty value
- Redirect User From Registration Page To CPT (profile page) with custom url
- Custom Post Types,Permalink and Heirarchy
- How to setup a permalink structure for a custom post type
- Passing variables through permalink structure in custom post types
- Custom post type 404 error on “default” or “numeric” permalinks
- Permalinks for single-[custom-post-types] not working
- Permalink Trouble with custom post types
- Custom Post Type – Main page for certain posts
- Custom post type permalink structure to include the taxonomy
- Custom Post Type permalink doesn’t match post permalink
- custom posts permalinks url rewriting
- I want to rewrite the URL of a specific post with a specific custom field to easily analyze in Google Analytics
- How to enable to change Permalinks for Individual Custom Post Type
- Permalink for specific post type
- Custom post shows 404 after theme change
- Show date as permalink for custom post type instead of post name
- How to merge 2 custom post type permalinks
- Permalink for custom post type pages not working
- Change permalink incrementor into pseudo-subdirectory
- CPT – Custom Text fields point to new url permalinks
- Change custom post type permalink according to category
- Creating custom post type relationships
- Metabox messes up permalink
- Create custom YouTube-like permalinks for multiple custom post types
- Custom Post type and Taxonomy in post URL error
- Custom Post Type + Category archive
- Multiple Custom Post Type permalink issue
- Custom Post Types and rewrite rules – One CPT works and a cloned one doesn’t
- How to retrieve the permalink for a specific (custom) term?
- Permalink clashing with Custom Post Type rewrite rule
- What is the proper way implement a global $wp_rewrite?
- How can you preserve URLs when moving posts to a custom post type?
- Single and Archive Pages with Custom Post Type
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Wp-theme Development
- How to add custom permalink struct with DYNAMIC author to a Custom Post Type
- Custom post type Premalinks main page and details page
- Permalinks for Custom Post Types and Taxonomies