• 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. 

Ha estat útil la resposta? 0 Els usuaris han Trobat Això Útil (0 Vots)