Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Internet & the Web   »   Robots.txt

 
Thread Tools Display Modes
Question
 
 
#1  
Old Apr 10, 2006, 02:32 AM
potski
New Member
potski is offline
 
Join Date: Jan 2006
Posts: 9
potski See this member's comment history on his/her Profile page.
Robots.txt

Hello!

I need help in writing a correct robots.txt file.
I don't know anything about this and I just want to
make sure I end up getting the right codes based on
how I want things to be.


These are exactly the files and folders inside my server:

FILES:
- index.html
- welcome.html
- logo.jpg

FOLDERS:
- stats
- family
- sports

I have a website inside the "family" and "sports" folder.
I also have another one which is the "index.html" file in
the root directory.


I want robots, agents, spiders, or whatever to be able to
crawl everything BUT the website and files I have iside the
"family" folder. Those are for my family only and I'd like
to keep it private. Everything else, I want it to be seen and
to be able to be indexed in search engines.


I would really appreciate any help I can get. Thank you!

PS: Where do I put the robots.txt file? Do I put it in the
root directory?

Reply With Quote
 
     

Answers
 
 
Old Apr 10, 2006, 02:52 AM   #2  
Ultra Member
LTheobald is offline
 
LTheobald's Avatar
 
Join Date: Feb 2004
Location: Cambridge, UK
Posts: 1,047
LTheobald See this member's comment history on his/her Profile page.LTheobald See this member's comment history on his/her Profile page.
Call LTheobald via Skype™ Send a message via MSN to LTheobald
As you guessed, you have to place the robots.txt file in the root directory of your site. As for the contents the file should hold, this should do the job:

Code:
User-agent: *
Disallow: /family/
For more information, check out these links:
The Web Robots Pages
Robots.txt Syntax Check
  Reply With Quote
 
     
 
 
Old Apr 10, 2006, 02:57 AM   #3  
New Member
potski is offline
 
Join Date: Jan 2006
Posts: 9
potski See this member's comment history on his/her Profile page.
Big thanks! Appreciate that!
  Reply With Quote
 
     

Bookmarks


Thread Tools
Display Modes

 
Similar Sponsors

Similar Threads
Question Asker Forum Answers Last Post
1980 sci fi movie black masked robots WJWolfe Movies 1 Mar 7, 2007 09:07 AM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 02:10 AM.