Skip to content

Add search to docs 404 page #1839

Open
Open
@bmorelli25

Description

@bmorelli25

No matter how good our docs are, there will always be users hitting 404s. In addition to the redirect strategy being discussed in #1820, can we add search to our 404 page?

As an example, here's a documentation 404. Anyone who hits that page will see this:

Screen Shot 2020-05-13 at 2 14 58 PM

It's fun, but it's not helpful. What would be helpful, is if the 404 page was able to display relevant search results based on the bad URL and provide a search box for users to craft their own searches. Based on the URL in this example, the 404 page might include something like this:

Screen Shot 2020-05-13 at 2 32 09 PM

A quick google search shows that smart 404 pages like this are actually a feature of Swiftype: Building a smart 404 page with Swiftype. 🐶🥫

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferdesignVisual appearance of the built documentationenhancementSomething we'd like to improve

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions