Make WordPress Core

Opened 3 months ago

#61261 new enhancement

If redirect_guess_404_permalink returns a LIKE condition result, the redirect should have 302 code

Reported by: oglekler's profile oglekler Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Permalinks Keywords:
Focuses: Cc:

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.