How to disallow a particular directory from being crawled by Google?

  • Login to your cPanel
  • Go inside File Manager
  • Click on public_html
  • Create a robots.txt file.
  • Use thie given code, 

User-agent: Googlebot

Disallow: /protected-directory/

This code will disallow the protected directory from being crawled by Google.  Refer to the video tutorial to learn more about the steps to disallow a particular directory from being crawled by Google. 

  • cheap linux hosting, cheapest web hosting, buy linux hosting, best reseller hosting, cheap reseller hosting, cheap web hosting, cheapest linux hosting, cheapest reseller hosting, best web hostingv, cheap linux host, best linux hosting, buy reseller hosting, cheap reseller host
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Install WordPress in Sub-Directory?

Login to cPanel. Select Softaculous Apps Installer from Software section. Select WordPress...

How to Restore Backups Using JetBackup 4 in cPanel?

Login to cPanel and get inside JetBackups section. Here, you will find multiple features which...

How to Suspend Outgoing Emails of a cPanel Account as WHM Reseller?

To manage the bulk mailing that occurred from a cPanel account hosted within your WHM Reseller,...

How Can You Create/Install WordPress On Sub-Domains?

#1. Create a subdomain of your main domain Log into your cPanel and go to the Subdomains...

How to Redirect a website to another URL using Cloudflare?

Log into your Cloudflare account. If you do not have then Sign Up and create one. Select the...