WordPress.org

Making WordPress.org

Opened 17 months ago

Closed 7 months ago

#4606 closed defect (fixed)

Permalink redirect to other page

Reported by: fahimmurshed Owned by: SergeyBiryukov
Milestone: Priority: normal
Component: Support Forums Keywords: has-patch 2nd-opinion
Cc:

Description

Hi,
Check this link: https://wordpress.org/support/users/
This link redirects to Contact from DB plugin support page https://wordpress.org/support/topic/users-28/

I think it should be fixed.

Please change the component to the right category.

Thanks :)

Attachments (1)

4606.diff (1001 bytes) - added by valentinbora 10 months ago.
A first patch to prevent redirecting to guessed topics within forums

Download all attachments as: .zip

Change History (12)

#1 @Otto42
17 months ago

  • Resolution set to wontfix
  • Status changed from new to closed

https://wordpress.org/support/* redirects to the nearest matching support topic for that phrase. That support topic can be in any forum, including the plugin and theme support forums.

#2 @SergeyBiryukov
17 months ago

  • Component changed from General to Support Forums
  • Keywords needs-testing removed

#3 @dd32
17 months ago

  • Resolution wontfix deleted
  • Status changed from closed to reopened

I'm reopening this, as I'd like to tighten up these redirects a bit more to be useful to the average user.

/support/users/ has no need to redirect to a /support/topic/users*/ page (Certainly not one from 3 years ago), a better redirect would be to a search of the documentation.

A partial uri for a /support/topic/something-or-other can continue to do a topic lookup though.

#4 @Otto42
17 months ago

It's not like we're linking to that anywhere. A better redirect would be to /support without anything, honestly.

This isn't exactly an intentionally designed redirect, it's more of a default one from WordPress from redirect_guess_404_permalink().

#5 follow-up: @Clorith
13 months ago

I'm wondering if it would not make more sense to redirect the user to their own profile page if they just do /support/users/?

I also believe it's the core redirect guess function doing this though, it might even make sense to disable the redirect guesser for the forums, given that topics that are removed are usually removed for a reason and having them reliably return a 404 instead of a different topic would be a better experience I think.

This ticket was mentioned in Slack in #forums by murshed. View the logs.


12 months ago

@valentinbora
10 months ago

A first patch to prevent redirecting to guessed topics within forums

#8 @valentinbora
10 months ago

  • Keywords has-patch 2nd-opinion added

This ticket was mentioned in Slack in #forums by valentinbora. View the logs.


10 months ago

#10 in reply to: ↑ 5 @SergeyBiryukov
10 months ago

  • Owner set to SergeyBiryukov
  • Status changed from reopened to reviewing

Replying to Clorith:

I also believe it's the core redirect guess function doing this though, it might even make sense to disable the redirect guesser for the forums, given that topics that are removed are usually removed for a reason and having them reliably return a 404 instead of a different topic would be a better experience I think.

Disabling redirects for hidden/removed topics should already be accounted for in #2671.

#11 @dd32
7 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 9850:

Support Forums: Canonical: Don't redirect bbPress root page parents to random topics.
Examples: /users/ /topics/ and /reply

Fixes #4606.

Note: See TracTickets for help on using tickets.