How to stop search engines from indexing your WordPress site | WordPress SEO

Rate this post

Today we will be looking at two different ways to prevent search engines from indexing your WordPress site. The first option is a setting within the READING section of the SETTINGS portion of the WordPress Administrator.

The second option requires that your web host be using cPanel. cPanel includes a security option that allows you to set a username and password for folder access. This can be used to prevent access to your WordPress installation. Since the folder requires a password, search engine robots are prevented from accessing your site.

When you set this option you will see that WordPress adds the following warning: “It is up to search engines to honor this request.”

When this option is selected, WordPress does the following:

Writes a line in the HEAD section of the generated WordPress pages:
meta name=’robots’ content=’noindex, nofollow’

This will normally prevent search engine robots to ignore your site. However, although the line is in the header, it is possible for search engines to ignore these requests. These settings must be honored by the search engines in order for them to work.

== How to Set the Search Engine Visibility Option in WordPress ==

1. Login to the WordPress Dashboard
2. Click on Settings
3. Click on Reading
4. Click on the checkbox under “Search Engine Visibility” in order to “Discourage search engines from indexing the site”
5. Click on SAVE CHANGES in order to save your setting change.

== How to use the cPanel Password Directory Feature ==

Remember that using this option prevents anyone from accessing the WordPress files. Caution must be taken in saving the login criteria so that access to the WordPress site is not lost.

About Us:
InMotion Hosting was founded in 2001 and provides personal and business web hosting for everyone! For more information about our WordPress optimized hosting plans, visit us at:



Mazi has nine years of web development experience with the past five years spent honing his skills with WordPress plugins and themes. He's an expert in WooCommerce and is the author of the Simple Sales Tax plugin, a popular sales tax compliance solution for WooCommerce. Brett understands the importance of excellent communication, prides himself on producing high-quality code, and is comfortable working solo or as part of a team.

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also
Back to top button