[wp-trac] [WordPress Trac] #16626: CPT archive rewrite rule doesn't respect 'with_front' arg

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 25 15:25:34 UTC 2011


#16626: CPT archive rewrite rule doesn't respect 'with_front' arg
--------------------------+--------------------
 Reporter:  scribu        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.1.1
Component:  Post Types    |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by scribu):

 > still uses the /blog url structure, which is another issue though.

 Yes, that's the idea. If you don't want to use /blog, just say so:

 `
 ...
 'rewrite' => array( 'with_front' => false ),
 ...
 `

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


More information about the wp-trac mailing list