![]() |
Prevent folders being crawled
I have a test site that is in a folder within my forum root but I notice that there are 5 google spiders crawling certain bits of it?
How does one prevent a folder being crawled by any spiders? Ta.. |
Do you have a robots.txt file in your forum root?
If not add the following to it: Code:
User-agent: * Change this, MY FOLDER NAME to the name of the folder. If you already have a robots.txt file, just add this line to it: Code:
Disallow: /forums/MY FOLDER NAME/ |
robots.txt?
Bloody ell, something else to know more about. Just googled it, just done it. Thanks.. I came across this robots.txt a while ago and completely forgot about it. :o Ta.. |
Not a problem, glad to help. Also since you did not have one in place, you may want to add this to it also to prevent the bots going to these pages/folders:
Code:
Disallow: /cgi-bin/ |
I did an online robots.txt generating script, it came up with this..
Code:
Sitemap: https://www.xxxxxxxxxxx.com/xxxxxxxx/vbulletin_sitemap_blog_0.xml.gz It now looks like this. Code:
Sitemap: https://www.xxxxxxxxxxx.com/xxxxxxxx/vbulletin_sitemap_blog_0.xml.gz Cheers for that. :) |
Keep in mind, robots.txt is alot like gun control laws - only the law abiding pay any attention to it. Bad spiders such as Baidu and 100s of others completely ignore robots.txt. It's not a blocker, it is a list.
To block bad bots get the "Ban Spiders by User Agent" mod it is linked at the link in my sig. |
Cheers for that..
But, in my entire duration, I have had no spam whatsoever. None have registered ever. Must be going on for 2 years now. Nothing. I am slightly worried. |
Quote:
|
If I ever get spam, I will consider it. Thanks.
I think my main problem now is ranking, or more precisely, the lack of it. This is my next adventure into the wilderness. |
Test sites should be password protected. If they are, then they won't get indexed.
|
I completely missed that it was a test site.
|
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|