Opened 6 years ago

Closed 5 years ago

Last modified 5 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


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., >

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

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