Making WordPress.org

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3852 closed defect (bug) (fixed)

Improve how empty searches are handled [1/2]

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

Description

Empty plugin searches (see https://wordpress.org/plugins/?s=) return a partially broken template. Specifically, the <title> and the primary heading of the page both omit the missing {{searchTerm}} variable.

In line with SEO and usability best practices, empty searches should execute a 301 redirect to https://wordpress.org/plugins/

Change History (4)

#1 @jonoaldersonwp
6 years ago

  • Summary changed from Improve how empty searches are handled to Improve how empty searches are handled [1/2]

#3 @SergeyBiryukov
6 years ago

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

In 7789:

Plugin Directory: Redirect empty search queries to home page.

Props jonoaldersonwp.
Fixes #3852. Fixes #3853.

#4 @joostdevalk
6 years ago

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