[wp-trac] [WordPress Trac] #16736: Rewrite rules are generated inconsistently for custom taxonomies and /%category%/%postname% permalink structure

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 3 03:49:38 UTC 2011


#16736: Rewrite rules are generated inconsistently for custom taxonomies and
/%category%/%postname% permalink structure
-------------------------------+------------------------------
 Reporter:  valentinas         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Rewrite Rules      |     Version:  3.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by valentinas):

 Sample URLs:

 Permalink structure - Day and name:
 http://localhost/test/book/test-book/

 Permalink structure - Month and name:
 http://localhost/test/book/test-book/

 Permalink structure - Numeric:
 http://localhost/test/archives/book/test-book


 Test case to get 404:
 1. In fresh WP install and activate the dummy plugin that is attached to
 this ticket
 2. Go to Books->Add New
 3. Enter "test-book" as title and click Publish
 4. Go to Settings->Permalinks  and set permalinks to anything else than
 default.
 6. Go to Books->Books, mouseover on test-book and click "View"

 Expected result: the book page is shown[[br]]
 Actual result: 404 occurs

 7. Go to Settings->Permalinks and set permalinks to default
 8. Repeat steps 4 - 7 to test other pemalink structures.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16736#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list