Making WordPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#3852 closed defect (fixed)

Improve how empty searches are handled [1/2]

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


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

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

#3 @SergeyBiryukov
3 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
3 years ago

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