# Search box in custom (404) page

**URL:** <https://meta.discourse.org/t/search-box-in-custom-404-page/48292>\
**Category:** Development\
**Created:** [Août 6, 2016, 12:18 UTC](https://meta.discourse.org/t/search-box-in-custom-404-page/48292 "2016-08-06T12:18:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Overgrow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overgrow/32/478189_2.png) [@Overgrow](https://meta.discourse.org/u/Overgrow)\
**Post date:** [Août 6, 2016, 12:18 UTC](https://meta.discourse.org/t/search-box-in-custom-404-page/48292/1 "2016-08-06T12:18:39Z")

</div>

Hello,

is it possible to add somehow visible prominent search box to custom e.g. 404 page? I see there is google search now, but I would like to replace it with internal site search. Is there any reason why offer google box there instead of internal search?

I’d just like to hack a box with GO button which will redirect to full page search results.

Thanks for input…

I’ve found this code for Handlebars.. using component `search-text-field.js.es6`

> ```
> <div class="search row clearfix">
> {{search-text-field value=searchTerm class="full-page-search input-xxlarge search no-blur" action="search" hasAutofocus=hasAutofocus}}
> {{d-button action="search" icon="search" class="btn-primary" disabled=searchButtonDisabled}}
> </div>
> 
> ```

Seems like this should be pretty easy.. After placing this into custom template, the only thing that seems to be missing is “search” action defined on template’s controller which will redirect the search into full page search… Any clues?

---

_[View the full topic](https://meta.discourse.org/t/search-box-in-custom-404-page/48292)._
