View Single Post
  #4 (permalink)  
Old 24-09-2007, 09:25 PM
GeminiGeek GeminiGeek is offline
Novice Webmaster
 
Join Date: Apr 2004
Location: Miri, Sarawak
Posts: 93
Rep Power: 58
GeminiGeek is on a distinguished road
Send a message via MSN to GeminiGeek Send a message via Skype™ to GeminiGeek
Quote:
Originally Posted by yonghs View Post
Since the subdomain is essentially a folder.....how about putting a robots.txt file in the domain root with the following content:

User-agent: *
Disallow: /subdomainfolder/

OR use htaccess to password protect the folder? Comprehensive guide to .htaccess- password protection
Oh! I forgot about robots.txt!! Hah. I have it to control the spider from crawling to my feeds... htaccess is definitely not a good idea because I am lazy to login every time I access the subdomain.

Quote:
Originally Posted by mysticmind View Post
User-agent: *
Disallow: all
And I am not suppose to put that in robots.txt in domain root, right? That would be disallowing the search engine to crawl in my domain right?

Just wondering how effective this robots.txt is. Is it a Google-only tool, or all crawlers and spiders read robots.txt as well? If I am not mistaken, the link rel=nofollow applies to google only, so I am wondering if robots.txt is the same.
__________________
Don't Ask Me Why I Joined This Forum
GeminiGeek's Online Journal
Reply With Quote