Making WordPress.org

Opened 14 months ago

Last modified 2 hours ago

#3942 new defect

Themes homepage shouldn't rely on JS, and shouldn't call the 'featured' state

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


When loading https://wordpress.org/themes/, JavaScript is used to immediately change the page state to match that of https://wordpress.org/themes/browse/featured/. This causes SEO, accessibility and analytics headaches.

I'm assuming that the intent is that the 'Featured' view should act as the 'Themes homepage'. If this is the case, then:

  • /themes/browse/featured/ should not exist as a distinct page (and requests to this URL should 301 redirect to /themes/)
  • Meta content (titles, descriptions, open graph tags, etc) for /themes/ should be updated to reflect that this page is both the themes index, _and_ a representation of featured themes.
  • We should remove the JavaScript 'reload' behaviour entirely.

Additionally, the page always loads with a large placeholder containing the text, "No themes found. Try a different search.". This is removed via JS if results are found.

This text should be removed entirely (as the default), and only returned for queries which genuinely return no results.

Change History (3)

This ticket was mentioned in Slack in #meta by jonoaldersonwp. View the logs.

12 months ago

#2 @jonoaldersonwp
12 months ago

  • Keywords seo added

This ticket was mentioned in Slack in #meta by jonoaldersonwp. View the logs.

2 hours ago

Note: See TracTickets for help on using tickets.