[wp-trac] [WordPress Trac] #61261: If redirect_guess_404_permalink returns a LIKE condition result, the redirect should have 302 code

WordPress Trac noreply at wordpress.org
Tue May 21 12:44:53 UTC 2024


#61261: If redirect_guess_404_permalink returns a LIKE condition result, the
redirect should have 302 code
-------------------------+-----------------------------
 Reporter:  oglekler     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Permalinks   |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Google Chrome is caching 301 redirect more persistent than ever and this
 become a problem for any redirects that are temporarily or guessed. The
 guess can be wrong.

 Imagine you have a page /our-team-activities/ and made a wrong link to it
 /our-team/ — redirect is quick and no one is noticing. And then you added
 new /our-team/ page and have troubles to open it. You can use incognito
 and finally be satisfied that page exists, but your colleagues cannot open
 it too, and you have two options: make a different slug for this page or
 add get-parameter to a link — both solutions are no ideal.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61261>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list