SEO


Search Engine Bot IP Addresses

Below is a list of the major search engine bot IP address ranges.  It is a good idea to whitelist these to make sure they can access your website.  If you use iThemes Security Pro you can do this in the “Global Settings” area and copy and paste the CIDR […]


Change Number of Search Results

To change the number of search results listed add the following snippet right above the if(have_posts) statement.  

So it would look like this:


Limit Search Results to Blog Posts Only

The following snippet will limit search results to display blog posts only on your search results page. Copy and paste the following into functions.php

Source: http://www.wpbeginner.com/wp-tutorials/how-to-exclude-pages-from-wordpress-search-results/


How to add a search form

Here is how to add a search form in WordPress. You can use the following code and it will load the default search box:

Or, you can use the following to customize your own search box