Search does not work in my WordPress blog


Staff member
the search does not work in my wordpress blog. each time i am searching with a keyword, it turns to zero result, however i know the word exists a thousand times in my blog.

The structure :

<li>i have my own theme based on twentyeleven (almost the same).</li>
<li>the search is placed into the sidebar, and i use search widget to show it on the front end.</li>
<li>the form is in my searchform.php, the code :

&lt;form method="get" id="searchform" action="&lt;?php echo esc_url( home_url( '/' ) ); ?&gt;"&gt;
  &lt;label for="s" class="assistive-text"&gt;&lt;?php _e( 'Search', 'ilwebdesign' ); ?&gt;&lt;/label&gt;
  &lt;input type="text" class="field" name="s" id="s" placeholder="&lt;?php esc_attr_e( 'Search', 'ilwebdesign' ); ?&gt;" /&gt;
  &lt;input type="submit" class="submit" name="submit" id="searchsubmit" value="&lt;?php esc_attr_e( 'Search', 'ilwebdesign' ); ?&gt;" /&gt;
<li>the output should be shown on a page which is generated by the search.php file.</li>

I guess the redirection (an url) should have the problem because when i submit the search, the zero result is shown on my error page instead of the search page. The final page where it redirects me : <a href="" rel="nofollow"></a>...

Maybe the problem comes from the fact that my wp blog is installed in a subdomaine ? : <a href="" rel="nofollow"></a>

Normally i do not have search problem, the system works well because : i installed Search Everything wp plugin to hope that it helps. It installs a trial search in the admin side and when i search with it, it works, it redirects me to the home page (posts list) and even highlights the words. The problem is that this plugin obliged to use the default wp search form and it does not work on the front end, even with this plugin...

Can you please give me ideas what should i do that it works correctly.