Skip to main content
Inspiring
July 30, 2018
Answered

No crawl, no follow question!

  • July 30, 2018
  • 2 replies
  • 481 views

Hello,

Is this possible and will it work or not? Let's say I have a website, but I'd like to have a folder within that site containing a completely different website - however, I would like this "sub-site" not to be crawled by bots / not to be followed.

The rule of thumb is you add the robots.txt to the root of the site. By having this robots.txt file in the root of the sub-site, does that count as root or not? - Will this sub-site unintentionally be crawled?

Let me know for sure. And also what other suggestions you have for me to achieve this?

Thank you.

    This topic has been closed for replies.
    Correct answer WolfShade

    Robots.txt only works with reputable search engines like Google.  Others will ignore the robots.txt file and spider your site, regardless.  The only way to prevent the sub-site from being spidered is to make it a login/password accessible section.

    V/r,

    ^ _ ^

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    July 30, 2018

    To be really safe, password protect your folder at the server level.  Usually via your server's c-Panel or .htaccess file.  Robots cannot crawl a password protected folder. 

    Nancy O'Shea— Product User & Community Expert
    WolfShade
    WolfShadeCorrect answer
    Legend
    July 30, 2018

    Robots.txt only works with reputable search engines like Google.  Others will ignore the robots.txt file and spider your site, regardless.  The only way to prevent the sub-site from being spidered is to make it a login/password accessible section.

    V/r,

    ^ _ ^

    Nancy OShea
    Community Expert
    Community Expert
    July 30, 2018

    Great minds... 

    Nancy O'Shea— Product User & Community Expert