WordPress.org

Making WordPress.org

Opened 10 months ago

Closed 9 months ago

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

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

#3 @SergeyBiryukov
9 months 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
5 months ago

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