[wp-trac] [WordPress Trac] #64376: redirect_canonical() causes unnecessary 301 redirects for query string encoding variants (+ vs %20)

WordPress Trac noreply at wordpress.org
Wed Dec 10 00:54:25 UTC 2025


#64376: redirect_canonical() causes unnecessary 301 redirects for query string
encoding variants (+ vs %20)
----------------------------+--------------------------
 Reporter:  robbertvancaem  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  7.0
Component:  Canonical       |     Version:  6.8.3
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  performance
----------------------------+--------------------------
Changes (by westonruter):

 * keywords:  has-patch => needs-patch


Comment:

 @iflairwebtechnologies The patch in [attachment:"64376.diff"] does not
 apply. I also do not see how it would fix the problem, since it is
 specifically targeting attachment URLs when the issue is specifically for
 the static front page. This is not the first time I've seen a patch
 supplied  like this from you. See
 [https://core.trac.wordpress.org/ticket/64318#comment:4 previous example].
 Please do not waste other contributors' time by submitting patches that
 clearly do not apply and which have not been tested.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64376#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list