Just lately, one among our readers requested if it was doable to cover a WordPress web page from Google? Generally it’s possible you’ll want to cover a web page from Google to guard your privateness or to maintain away undesirable customers. On this article, we are going to present you the way to conceal a WordPress web page from Google with out affecting your web site’s general web optimization.
Hiding a WordPress Publish or Web page From Google
Search engines like google like Google enable web site homeowners to exclude content material from search outcomes. You are able to do this by utilizing your web site’s robots.txt file or utilizing HTML meta tags.
We are going to present you the way to do that in WordPress utilizing two strategies. You’ll be able to select the one which works greatest for you.
We may also present you the way to password shield posts and pages in WordPress. Should you don’t need to use the primary two strategies, then this method will help you management the visibility of your posts and pages for all customers.
Technique 1: Disguise a WordPress Web page from Search Engines Utilizing Yoast web optimization
This technique is simpler and advisable for newbies.
Very first thing it’s worthwhile to do is set up and activate the Yoast web optimization plugin. For extra particulars, see our step-by-step information on the way to set up a WordPress plugin.
If you’re new to Yoast web optimization, then it’s possible you’ll need to see our information on the way to set up and arrange Yoast web optimization plugin.
Subsequent, it’s worthwhile to edit the submit or web page that you simply need to conceal from serps. Scroll right down to the Yoast web optimization meta field under the submit editor and click on on the superior settings button.
The superior settings part permits you to add meta tag robots to your weblog posts or pages. Utilizing the robots meta tag, you possibly can inform serps to not index or observe a web page.
First it’s worthwhile to choose ‘noindex’ from the drop down menu subsequent to ‘Meta robots index’ choice. After that, click on on ‘nofollow’ subsequent to ‘Meta robots observe’ choice.
Now you can save/publish your submit or web page.
Yoast web optimization will now add this line of code to your submit or web page:
This line merely tells serps to not observe or index this web page.
Technique 2: Disguise a WordPress Web page from Search Engines Utilizing robots.txt File
This technique requires you to edit the robots.txt file. Including incorrect directions on this file can have hostile have an effect on in your web site’s web optimization, which is why it isn’t advisable for newbie customers.
The robots.txt file is a configuration file that you may add to your WordPress web site’s root listing. It permits an internet site to offer directions for search engine bots, therefore the identify robots.txt.
For extra data, check out our information on the way to optimize your WordPress robots.txt for web optimization.
You’ll be able to edit robots.txt file by connecting to your web site utilizing an FTP consumer or ‘File Supervisor’ in your WordPress internet hosting cPanel.
You’ll need so as to add these traces to your robots.txt file.
The user-agent line permits you to goal particular bots. We’re utilizing asterisk signal to incorporate all serps.
The subsequent line defines the a part of the URL that comes after your area identify.
Now let’s assume that you simply need to conceal a weblog submit with a URL like this:
Right here is how you’ll add this URL to your robots.txt file.
Don’t neglect to avoid wasting your modifications and add robots.txt file again to your server.
Disadvantages of Utilizing robots.txt to Disguise Content material
First it’s worthwhile to take into account that robots.txt file is publicly accessible. Anybody can entry it on to see if there are any pages you are attempting to cover.
Whereas most serps observe the directions in robots.txt file, many different crawlers and bots could merely ignore it. These are the bots crawling the online to unfold malware, goal web sites, or harvest data like e-mail accounts, telephone numbers, and so on.
Technique 3: Password Defend a Publish or Web page in WordPress
This technique makes use of a unique method. As a Substitute of asking serps to not index a web page, you possibly can password shield it, in order that it’s only seen to customers with the password.
WordPress comes with a built-in function to password shield posts and pages. Merely edit the submit or web page that you simply need to shield.
Beneath the publish meta field, click on on the ‘Edit’ hyperlink subsequent to ‘Visibility’ choice.
This may present the visibility choices out there in WordPress. You’ll be able to maintain a submit/web page public, make it non-public, or password shield it.
Non-public posts are solely out there to logged in customers who’ve at the very least editor consumer position in your web site.
You May Also Like : How to Disable PDF Thumbnail Previews in WordPress
Password protected posts might be seen by any customer who has the password. Click on on password protected choice after which enter a powerful password.
Now you can publish or save your submit/web page.
Now guests accessing the submit or web page in your web site might be requested to enter the password to view the content material.
For extra detailed directions, see our information on the way to password shield posts and pages in WordPress.
That’s all, we hope this text helped you learn to conceal a WordPress web page from Google. You might also need to see our information on the way to cease serps from crawling a WordPress web site.
If you liked this article, make sure to hit the bell for getting our latest updates and share this article with your friends in every social media platforms.