Making WordPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#3851 closed defect (fixed)

Improve how search redirects are handled

Reported by: jonoaldersonwp Owned by: SergeyBiryukov
Milestone: Priority: low
Component: Plugin Directory Keywords: seo


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
3 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
3 years ago

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