Automattic / Automattic/jetpack

Search: add 404 search recommendation block

Open
#17,207 2 comments 3 reactions 0 assignees View on GitHub
[Feature] Search Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Add a recommendation block that is displayed on 404 pages and can function as recommendations.

This could be a fork of the existing Related Posts block to start and we just need to add an option to the search API to treat the query string more as context rather than a requirement when matching.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing Related Posts block and the search API entry point, then trace how 404 pages render blocks. Define the recommendation block’s expected display and verify that the API can use the query string as context rather than a strict matching requirement; done means recommendations appear on 404 pages without requiring an exact query match.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, frontend, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.