Title: The search-functionality doesn&#8217;t work!
Last modified: August 19, 2016

---

# The search-functionality doesn’t work!

 *  [perpal](https://wordpress.org/support/users/perpal/)
 * (@perpal)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/)
 * I have upgraded to 2.5.1 from 2.1 and now the search-functionality doesn’t work.
   Not from the main page neither from the dashboard. Somebody can help me? Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [haochi](https://wordpress.org/support/users/haochi/)
 * (@haochi)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763361)
 * Try your-site.com/?s=hi
 *  Thread Starter [perpal](https://wordpress.org/support/users/perpal/)
 * (@perpal)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763472)
 * When I do that, it shows the “not found” page.
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763474)
 * can you be a little more specific about “doesn’t work” or provide a web address
   in your profile that actually loads?
 * or … something?…. anything!
 * “*splutter* doesn’t work *cough* help me!” isn’t really enough information to
   do anything with.
 * …
 * I wonder if road-side assistance gets stuff like this… I bet they do.
 * > hello, roadside assistance
    hi, car isn’t working > ok, where are you? next
   to my freaking car! Help me!
 *  Thread Starter [perpal](https://wordpress.org/support/users/perpal/)
 * (@perpal)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763476)
 * Hello roadside assistance! Try yourself: [http://ultralocalia.cat](http://ultralocalia.cat).
   You can search the word “gallina”, for example. Thanks.
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763479)
 * I’m on my way to your site – in the mean time, your profile here has a typo in
   your web address which is why I couldn’t visit your site earlier.
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763480)
 * ok, I’ve tried several keywords from your site, and while the search page DOES
   load, it shows no results.
 * that leads me to believe that there’s something wrong with your template’s search.
   php file.
 * please paste the entire contents of the file into: [http://wordpress.pastebin.com/](http://wordpress.pastebin.com/)
   then post the link back here.
 *  Thread Starter [perpal](https://wordpress.org/support/users/perpal/)
 * (@perpal)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763484)
 * Here you are: [http://wordpress.pastebin.com/m55512f2c](http://wordpress.pastebin.com/m55512f2c)
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763487)
 * ok… I think the solution is simple.
 * You have a few custom queries in your sidebar, but for some reason your sidebar
   code in your search template comes BEFORE the content area.
 * <?php get_sidebar(); ?>
 * this should go beneath the WHILE loop on that page because the custom queries
   in your sidebar are destroying the search query.
 *  Thread Starter [perpal](https://wordpress.org/support/users/perpal/)
 * (@perpal)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763584)
 * I thing the problem is not in the theme. Placing the code where you said the 
   problem subsists. It happens also with the Kubrick theme and when you search 
   from the dashboard editor (?)
 *  Thread Starter [perpal](https://wordpress.org/support/users/perpal/)
 * (@perpal)
 * [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763645)
 * Finally, the guilty was the Even Calendar plugin in the sidebar. After all, thanks
   a lot, Ivovic, for your help. And sorry for my English… I need to improve it 
   as soon as possible. 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘The search-functionality doesn’t work!’ is closed to new replies.

## Tags

 * [Searchform](https://wordpress.org/support/topic-tag/searchform/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [perpal](https://wordpress.org/support/users/perpal/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/the-search-functionality-doesnt-work-1/#post-763645)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
