Home ›
Search from a Drupal 404 File not found pageSearch from a Drupal 404 File not found page
Submitted by Benjamin Melançon on March 31, 2009 - 7:30pm
Search from 404 page does not work
http://drupal.org/node/292565
Oh wow, it's finally been fixed!!! As of yesterday!
Commit to Drupal 6 core announced in comment #67 of the above issue thread.
No need to see if the Blocks 404 module fixes it (but the module is cool too)
http://drupal.org/project/blocks404
Now one thing to do would be to pre-fill the search terms from the URL in a search box, but not search instantly, as a compromise between the convenience and the server resources cost of the Search404 module...
Resolution
Searched words:
drupal search does not work on 404 not found page
Comments
Thank you for the concise
Thank you for the concise update, much appreciated.
Search404 module
Check out the search 404 module as well. That could automatically perform a search (or just show keywords in search box) as required.
Sorry didn't see the
Sorry didn't see the reference to search404 in the last line. Actually search404 has an option to not perform the search and just show the search terms pre-populated.
That is good enough performance for me
but in the case of this project we are looking to have 404 pages being completely cached, not simply avoiding the additional database search. To do that the words need to be added to the form by JavaScript, on top of a cached HTML+CSS page, rather than rendered with the page.
Post new comment