# Search box in custom (404) page

**URL:** <https://meta.discourse.org/t/search-box-in-custom-404-page/48292>\
**Category:** Development\
**Created:** [Agosto 6, 2016, 12:18pm 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:** 2

<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:** [Agosto 13, 2016, 1:42pm UTC](https://meta.discourse.org/t/search-box-in-custom-404-page/48292/2 "2016-08-13T13:42:41Z")

</div>

Is there any simple way to put search text field to some other page than full page search? Thanks in advance.

[update]Simplest way I’ve found is to use `{{search-text-field}}` component in custom handlebars template and then define search action on controller:

```
import DiscourseURL from 'discourse/lib/url';

export default Ember.Controller.extend({
  
  actions: {
    search() {
      let searchTerm = this.get('searchTerm');
      DiscourseURL.routeTo('/search?q=' + searchTerm); 
    }
  }
});

```

Is there any way to modify default text (search topics, posts, users or categories):

![](https://global.discourse-cdn.com/meta/original/3X/5/f/5fe751a3314d445cdb4da8ea7c94f5c49d506214.png)

---

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