WordPress.org

Making WordPress.org

Opened 7 weeks ago

Closed 7 weeks ago

#4766 closed defect (fixed)

Different redirect behaviour when logged in/out

Reported by: jonoaldersonwp Owned by: Otto42
Milestone: Priority: high
Component: Support Forums Keywords: seo analytics
Cc:

Description

It appears that the thread at https://wordpress.org/support/topic/real-bulsit/ was renamed from "real bulsit" to "really bad".

When I'm logged in, there's a 301 redirect from that URL to the new one (https://wordpress.org/support/topic/really-bad-17/).

When I'm logged out, I get a 404 page.

Assuming that this is a general pattern across all renamed posts, it's vitally important that the 301 should also trigger for logged-out users.

Change History (2)

#1 @Otto42
7 weeks ago

Problem exists in the disable_wp_old_slug_redirect redirect code, which is supposed to stop redirection or spam and hidden topics and such, but appears to be overreaching here.

#2 @Otto42
7 weeks ago

  • Owner set to Otto42
  • Resolution set to fixed
  • Status changed from new to closed

In 9201:

Support Forums: Limit disabling of old slug redirects to hidden topics, as the function says it does. This overreach prevented proper topic redirections for non-logged in users, such as googlebot. Fixes #4766

Note: See TracTickets for help on using tickets.