Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 11th, 2005, 04:30 AM
HywelC HywelC is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 68 HywelC User rank is Private First Class (20 - 50 Reputation Level)HywelC User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 15 h 53 m 27 sec
Reputation Power: 4
Question Robots.txt and sub-domains

Hi All,

I have a number of websites stored in sub-domains of the main domain (ie /htdocs/<sub-domain name>).

My understanding is that the robots.txt file must appear in the main (/htdocs) folder and that the file contains the URL of the website.

Questions:
* Am I right in saying that the URL should appear in the robots.txt file?
* If I am, how do I deal with the sub-domains?
* Does every sub-domain need its own robots.txt file and, if so, how do I get the search engines to look somewhere other than the /htdocs folder?

Thanks for any help.

Regards,

Hywel


Reply With Quote
  #2  
Old November 11th, 2005, 05:08 AM
Blackhawk_996 Blackhawk_996 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 61 Blackhawk_996 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 h 44 m
Reputation Power: 3
Each subdomain needs to have its own robots.txt if it is going to be accessed as a subdomain, ie sub.domain.com

If you're accessing it using www.domain.com/sub then it doesn't need one and can use the base domain's robots.txt

But the whole point of a subdomain is to be used as a sub, so yes. It needs its own.

More information about robots.txt

I actually gave that robogen program a try and it was pretty interesting.

Reply With Quote
  #3  
Old November 17th, 2005, 02:35 AM
ezhilraja ezhilraja is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 11 ezhilraja User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 34 sec
Reputation Power: 0
http://forums.devshed.com/robots.txt
http://devshed.com/robots.txt (blank robots.txt)

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > Robots.txt and sub-domains


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway