In this article, we will discuss how to fix the WordPress search not working issue without writing any code. We will go over them in the most likely problem order. Keep skipping to the next block if you don’t have a particular type of problem.

Common WordPress search, not working issues-

Let’s face it- the default WordPress search is not great. If your WordPress search is not working it could manifest in one of the following ways-

  1. The WordPress search box is not displaying on your site.
  2. The WordPress search box is not returning results.
  3. WordPress search results page is not loading after the user entered a search query.
  4. WordPress search is not returning certain posts in search results.wordpress search not working

Add great search to your WordPress site @9 usd per month

 

 WordPress search results are empty after installing a theme.

  1. Are you seeing a 404 result or “no results found” page when you search for anything?
  2. Are you missing certain types of pages, say you are only able to see blogs on your searches but not your pages?
  3. Did you install a new theme recently?

To validate this, switch to the default theme to see if search starts working fine.  If so, please proceed with the steps below to fix your theme.

Though themes are supposed to not interfere with the functionality of wordpress search, some theme developers go over-board with their coding skills.  I have seen this happen in many themes.   Lets undo this interference.  Look for pre_get_posts

in  add_filter calls.  More like, add_filter('pre_get_posts', some_function)

you can just comment this line off, so that the search functionality is not interfered by the theme.  You will be finding the theme files under wp-content -> themes -> theme_name -> (typically named functions) .  You might have to use a ftp or file manage to do this change.

WordPress plugin conflict.

Some WordPress plugins allow you to change the way search works or the way the results are displayed.  For e.g. “The post Grid” is a plugin that can change the display styling of results.  If you have plugins like this, make sure you have configured it right.  A bad configuration can result in a defunct Search.

WordPress search not bringing some expected content.

This is a ranking + full content issue.  Jump to solution for this issue.

WordPress search not typo tolerant.

WordPress is using mysql for its search.  Which by nature is limited.  Jump to fix this limitaiton.

Search not fast.

Google does not use PHP to build its search.  PHP though a great language has its own limitations.  For a faster search, you got to go native hosted solutions.  It will cost you a little money, but your users would thank you for that.  Fix your speed now.

Search on every keystroke / ajax/live search.

Get it here.

Using a search plugin to fix your WordPress search not working issue-

  1. Install WP fastest site search plugin from WordPress plugin store.wordpress search not working
  2. Go to https://cse.expertrec.com/newuser?platform=wordpress.
  3. Enter your WordPress website URL and click on next->wordpress search not working
  4. The crawl will start in the background.wordpress search not working
  5. Login to your WordPress admin panel.
  6. In your left panel you must be able to see expertrec’s WordPress plugin, click on that. wordpress search not working
  7. Get your site ID (or) API key from your expertrec control panel ( here ).wordpress search not working
  8. Copy paste your site id in your WordPress control panel and click on save changes.wordpress search not working
  9. Make sure you have upgraded to a paid plan before 15 days of free trial. (Price begins at 9 USD per month)
  10. That’s it! Your brand new WordPress search is up and running! Here are snapshots of the search form and the search results pages.
  11. Snapshot of your WordPress search autocomplete.wordpress search not working
  12. Snapshot of your WordPress search results page.wordpress search not working
  13. Snapshot of your WordPress search spelling error tolerance feature.wordpress search not working
  14. If the plugin method didn’t work, you can add the code from https://cse.expertrec.com/csedashboard/home/code and add it to your wordpress PHP code. Please note that you have to add separately the code <ci-search></ci-search> to a place where you want the search box to appear ( Tip!- Contact our support team to get this done). There might be a one time fee for integration.
    wordpress search not working

Add great search to your wordpress site at 9 USD per month


muthali ganesh

Muthali loves writing about emerging technologies and easy solutions for complex tech issues. You can reach out to him through chat or by raising a support ticket on the left hand side of the page.