Making WordPress.org

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3851 closed defect (bug) (fixed)

Improve how search redirects are handled

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: Priority: low
Component: Plugin Directory Keywords: seo
Cc:

Description

Requests to plugin search URLs using the 'ugly' /plugins/?s={{term}} format execute a 302 redirect to a clean, /plugins/search/{{term}}/ format.

E.g., https://wordpress.org/plugins/?s=gutenberg > https://wordpress.org/plugins/search/gutenberg/

In line with SEO best practice, this redirect should be a 301 'permanent' redirect, rather than a 302 'temporary' redirect - otherwise, equity may be lost in the redirect, and browsers will not cache it.

Change History (2)

#1 @SergeyBiryukov
6 years ago

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

In 7788:

Plugin Directory: Use 301 status code for search redirects.

Props jonoaldersonwp.
Fixes #3851.

#2 @joostdevalk
6 years ago

  • Keywords seo added
Note: See TracTickets for help on using tickets.