Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transforming 404 pages into search pages #28

Open
pixelastic opened this issue Dec 20, 2017 · 2 comments
Open

Transforming 404 pages into search pages #28

pixelastic opened this issue Dec 20, 2017 · 2 comments

Comments

@pixelastic
Copy link
Collaborator

This has been originally posted on algolia/algoliasearch-jekyll-hyde#4

When a URL tries to reach a post that does not resolve to a real page, such as http://community.algolia.com/algoliasearch-jekyll-hyde/whatever currently the visitor is shown the 404.html page.
But now that we have Search, how about having JavaScript take the "whatever" and put it in the search form, and automatically issue a search?

I don't think this is something that could be part of the plugin directly, but I'd be interested into adding this to themes.

@pixelastic pixelastic changed the title Transformer 404 pages into search pages Transforming 404 pages into search pages Dec 20, 2017
@j-f1
Copy link

j-f1 commented Dec 20, 2017

I’ve seen some pages do this (usually with something like Google) and they often replace any / in the URL with a space.

@parramattacameras
Copy link

Any progress on this? @j-f1 @pixelastic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants