[wp-trac] [WordPress Trac] #4536: PATHINFO permalinks do not play well with custom tag/category prefixes

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 25 18:51:34 GMT 2007


#4536: PATHINFO permalinks do not play well with custom tag/category prefixes
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:  anonymous  
     Type:  defect          |      Status:  new        
 Priority:  high            |   Milestone:  2.3 (trunk)
Component:  Administration  |     Version:  2.3        
 Severity:  major           |    Keywords:             
----------------------------+-----------------------------------------------
 PATHINFO permalinks (starting with {{{/index.php/}}}) don't play well with
 custom tag/category prefixes.

 example:

 {{{
 Permalinks:
 /index.php/%postname%/

 Category Prefix:
 /topic

 Tag Prefix:
 /taxonomy
 }}}

 Issues:

  1. "You should update your .htaccess now." message is flashed, but
 nothing is provided to copy/paste
  1. Tag and Category URLs do not work.
  1. Even if you figure out what should be in .htaccess, paging for
 categories and tags wil be broken


 All of the above happen because we now have a mix of PATHINFO and
 mod_rewrite permalinks.  Permalink structure should be the authoritative
 PATHINFO/mod_rewrite decider.  If {{{/index.php/}}} is at the start of the
 permalink structure, it should also be automatically (and maybe silently)
 added to the front of the category/tag prefixes.

 This is an issue for 2.2.1 as well (although obviously only for
 categories).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4536>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list