Title: wordpress search function not working
Last modified: August 30, 2016

---

# wordpress search function not working

 *  [moonjw](https://wordpress.org/support/users/moonjw/)
 * (@moonjw)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wordpress-search-function-not-working/)
 * Dear All,
 * I found search function not working.
    I tried to enter some keywords, but it 
   still shown the message “Not Found Apologies, but the page you requested could
   not be found. Perhaps searching will help.”
 * Please help me how to fix it?
 * Thank you so much.

Viewing 1 replies (of 1 total)

 *  [Venugopal](https://wordpress.org/support/users/mynamevenu24/)
 * (@mynamevenu24)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wordpress-search-function-not-working/#post-6892856)
 * You should try first URL format [http://www.mydomain.com/?s=test](http://www.mydomain.com/?s=test)
   If this works change the search code like below
 *     ```
       <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
       <input type=”text” value="<?php the_search_query(); ?>" name="s" id="s" />
       <input type="submit" id="searchsubmit" value="Search" />
       </form>
       ```
   
 * Still problem is there try below method
 * – deactivating all plugins to see if this resolves the problem If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the default theme to rule out any theme-specific problems

Viewing 1 replies (of 1 total)

The topic ‘wordpress search function not working’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Venugopal](https://wordpress.org/support/users/mynamevenu24/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/wordpress-search-function-not-working/#post-6892856)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
