[wp-trac] [WordPress Trac] #50222: Autocorrect redirect to the wrong URL based on a word after permalink

WordPress Trac noreply at wordpress.org
Fri May 22 08:56:48 UTC 2020


#50222: Autocorrect redirect to the wrong URL based on a word after permalink
--------------------------+------------------------------
 Reporter:  bloup         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Permalinks    |     Version:  5.4.1
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the report.

 This is expected behavior, WordPress is trying to guess the correct URL
 using the
 [https://developer.wordpress.org/reference/functions/redirect_guess_404_permalink/
 redirect_guess_404_permalink()] function.

 If you'd like to change this behavior, there's a plugin for that:
 [https://wordpress.org/plugins/disable-url-autocorrect-guessing/ Disable
 URL Autocorrect Guessing].

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


More information about the wp-trac mailing list