[wp-trac] [WordPress Trac] #18385: Canonical redirections not suited for Queries with multiple query vars and "pretty permalinks" in general

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 12 09:09:55 UTC 2011


#18385: Canonical redirections not suited for Queries with multiple query vars and
"pretty permalinks" in general
--------------------------+------------------------------
 Reporter:  dd32          |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Canonical     |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by dd32):

 The approach taken in that alteration is to continue using the if
 branching, but taking note of what query parameters which can be removed
 with that url(ie. which ones the Path part of the url will take care of -
 the Rewrite), and ensuring that only those are removed, retaining all
 other params via $_GET.

 It has a few failings still, and a few regressions (can't handle custom
 rewrite rules at all in it's present form) and is a rather hack job..

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


More information about the wp-trac mailing list