WordPress.org

Making WordPress.org

Opened 14 months ago

Closed 13 months ago

Last modified 10 months 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
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
13 months 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
10 months ago

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