[wp-trac] Re: [WordPress Trac] #8098: trailing p's removed from query by canonical redirect

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 8 01:34:36 GMT 2008


#8098: trailing p's removed from query by canonical redirect
---------------------+------------------------------------------------------
 Reporter:  DD32     |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  normal   |    Milestone:  2.7      
Component:  General  |      Version:  2.7      
 Severity:  normal   |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by stevish):

 I've also tested the following... it's simple and to the point:

  `'#(^p|^page_id|^cat|^tag|&p|&page_id|&cat|&tag)=?$#'` ? Would that work?

 I've tried it on a regex tester, and it seems to work...

 Yeah, I caught that issue on my last idea too

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


More information about the wp-trac mailing list