WordPress.org

Making WordPress.org

Opened 9 months ago

Last modified 8 weeks ago

#4606 reviewing defect

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 8 weeks ago.
A first patch to prevent redirecting to guessed topics within forums

Download all attachments as: .zip

Change History (11)

#1 @Otto42
9 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
9 months ago

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

#3 @dd32
9 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
9 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
5 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.


4 months ago

@valentinbora
8 weeks ago

A first patch to prevent redirecting to guessed topics within forums

#8 @valentinbora
8 weeks ago

  • Keywords has-patch 2nd-opinion added

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


8 weeks ago

#10 in reply to: ↑ 5 @SergeyBiryukov
8 weeks 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.

Note: See TracTickets for help on using tickets.