[wp-trac] [WordPress Trac] #19794: Rewrite rules for custom taxonomies not being created for 'Postname' structure
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 11 08:59:28 UTC 2012
#19794: Rewrite rules for custom taxonomies not being created for 'Postname'
structure
---------------------------+------------------------------
Reporter: duck__boy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 3.3.1
Severity: major | Resolution:
Keywords: |
---------------------------+------------------------------
Comment (by duck__boy):
Replying to [comment:2 SergeyBiryukov]:
> Can't reproduce on a clean install. My steps:
>
> 1. Set permalinks to "Post name".
> 2. Create a custom taxonomy and assign it to a post. I've used
[http://codex.wordpress.org/Function_Reference/register_taxonomy#Example
Genres and Writers example] from Codex with a minor adjustment: for
standard posts rather than a `book` post type.
> 3. Flush rewrite rules by visiting Permalink Settings screen (without
changing the structure).
> 4. The taxonomy archive (e.g. /genre/science-fiction/) is properly
displayed.
Have you tried setting the permalinks to 'Default', to remove all rewrite
rules, and then setting them back to 'Post name'? To my understanding,
when you add a taxonomy the rules are flushed, so your steps would not see
an error - it is only when you change the structure after creation.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19794#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list