Opened 3 years ago
Closed 3 years ago
#14608 closed defect (bug) (invalid)
Custom Post Type Permalinks break when 'rewrite' argumnet is changed
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Post Types | Version: | 3.0.1 |
| Severity: | normal | Keywords: | custom, post, type, permalink, broken, rewrite, post_type |
| Cc: |
Description
When adding a Custom Post Type all is initially fine with the Permalinks, but if you change the 'rewrite' argument at all then it stops the Permalinks for only that Custom Post Type from working.
Also, changing the $post_type parameter will cause the same brakage, again only for that Custom Post Type. Deleting .htaccess and letting Wordpress recreate it seems to fix the issue, but it breaks again if you make one of the mentioned changes.
Change History (1)
Note: See
TracTickets for help on using
tickets.
You need to either flush the rewrite rules via an activation hook or by visiting options-permalink.php.