![]() | | ||||||||
| | #1 |
| Advanced Warrior War Room Member Join Date: Nov 2003 Location: Oregon State, USA.
Posts: 627
Thanks: 482
Thanked 365 Times in 226 Posts
|
I've never concerned myself in the past with a Robots.txt file being included with any of my domains, but recently I've been reviewing a couple of SEO ebooks that seem to imply that they are necessary for proper and efficient optimization. After studying and reading up on robots text files I've managed to confuse myself thoroughly. So, here's what I want to do: I have a root domain 123.com Addon domain is abc.com (abc.123.com) I need to have a robots.txt file that will only allow permission to index the addon domain (abc.com), and not the main domain (123.com) it is used for personal files and server scripts. I do have a WordPress install on the root 123.com though. I've created a new site in a subfolder of the addon domain abc.com/new site. I want to give permission to the search engine bots to search this 'abc' 'root' folder and any other additional sites that I create in this directory abc.com/additional sites site. Where would I place the 'robots.txt' file..... Under the root 123.com or under the addon site abc.com? Again. I don't want the subfolders of the root domain with the exception of the WordPress install to be searched or indexed. Everything in all the addon domains will be fair game for the search engines. And, could somebody give me an example of what the contents of a properly constructed robots.txt should be, other than 'Allow'? Thanks, Mark |
| | |
| | #2 |
| Warrior Member Join Date: Nov 2010 Location: Edinburgh, Scotland
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
Would it not be more conflict-free to have abc.com/123 instead and simply block the 123 folder with your robots.txt file?
|
| | |
| | #3 |
| Advanced Warrior War Room Member Join Date: Nov 2003 Location: Oregon State, USA.
Posts: 627
Thanks: 482
Thanked 365 Times in 226 Posts
|
My root domain '123.com' is what I registered with my shared hosting provider. I'm not sure if I could swap the two domains so that abc.com could become the primary root domain.
|
| | |
| | #4 |
| Warrior Member Join Date: Nov 2010 Location: Edinburgh, Scotland
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
My apologies, what I mean was rootdomain/subfolder, using the subfolder instead of a subdomain. It'd be much easier to administer with a robot.txt. However, perhaps another viewer may be able to help you further.
|
| Last edited by UKecommerce; 11-24-2010 at 02:02 PM. Reason: correction | |
| | |
| | #5 |
| Advanced Warrior War Room Member Join Date: Nov 2003 Location: Oregon State, USA.
Posts: 627
Thanks: 482
Thanked 365 Times in 226 Posts
|
Thanks UK for your response. I believe that with shared hosting that all addon domains are actually subdomains of the root i.e. www.abc.123.com. I could be wrong about this but it is my understanding. |
| | |
| | #6 |
| Senior Warrior Member Join Date: Jul 2010 Location: USA
Posts: 1,507
Thanks: 9
Thanked 82 Times in 81 Posts
|
In shared hosting, you have a primary domain and all other addon domains will be shown in your control panel and sub domains of it. and when you want to access them in file manager, addon domains will be shwon as .../addon1/...
|
| Pagerank 5 Social Bookmarking (Dofollow) Hubmesh.com ( 70% Revenue Sharing ) Google Pagerank Checker Tool WDmoney.com 9metaTagzBook FF FH News SocialNews | |
| | |
| | #7 | |
| pay them no mind War Room Member Join Date: Jul 2009 Location: StL
Posts: 1,133
Thanks: 207
Thanked 353 Times in 229 Posts
| Quote:
I guess I'm confused... I have "mymain.com" with it's own robots.txt I also have "subto.mymain.com" with it's own robots.txt I also have "sutoto.mymain.com" with it's own robots.txt too... Is this what you're talking about?!? | |
| scott g "Whatever the mind can conceive and believe, the mind can achieve." zoloft birth defects & zoloft lawsuit paxil birth defects & paxil lawsuit avandia lawsuit celexa birth defects & celexa lawsuit lexapro birth defects & lexapro lawsuit lawsuitinformation.org | ||
| | |
| | #8 |
| Advanced Warrior War Room Member Join Date: Nov 2003 Location: Oregon State, USA.
Posts: 627
Thanks: 482
Thanked 365 Times in 226 Posts
|
Scott, I'm most likely more confused than you.... I don't even have a single robots.txt at all. What I keep running across is the statements that there can and should only be one robots.txt file per domain. With shared hosting plans the domain that you originally signed up with is the root domain.... On the servers side each addon domain appears as a subdomain of the root which is than redirected to the addon domains name in the simple format of www.addon .com with no reference to the original root domain. What's throwing me is where to place this single robots text file, in the root domains folder? Or, in the addon domains folder? If the file is placed in the root folder will it index everything, addon domains, subdomains, every folder and all of it's content? |
| | |
| | #9 | |
| pay them no mind War Room Member Join Date: Jul 2009 Location: StL
Posts: 1,133
Thanks: 207
Thanked 353 Times in 229 Posts
| Quote:
I have a Baby Hosting Plan w/ hostgator. The main main domain is "something.net" that I don't even use anymore (except for some backlinks) and it has a robots.txt file too. This is what I'm doing for my site that I'm using subdomains with: keyword.org/robots.txt "Sitemap: http://keyword.org/sitemap.xml User-agent: * Disallow: /cgi-bin/" sub.keyword.org/robots.txt "Sitemap: http://sub.keyword.org/sitemap.xml User-agent: * Disallow: /cgi-bin/"sub2.keyword.org/robots.txt "Sitemap: http://sub2.keyword.org/sitemap.xml User-agent: * Disallow: /cgi-bin/" If this helps you at all then good, if not maybe it will help someone else! CHEERS & HAPPY THANKSGIVING! | |
| scott g "Whatever the mind can conceive and believe, the mind can achieve." zoloft birth defects & zoloft lawsuit paxil birth defects & paxil lawsuit avandia lawsuit celexa birth defects & celexa lawsuit lexapro birth defects & lexapro lawsuit lawsuitinformation.org | ||
| | |
| | #10 |
| Advanced Warrior War Room Member Join Date: Nov 2003 Location: Oregon State, USA.
Posts: 627
Thanks: 482
Thanked 365 Times in 226 Posts
|
Scott, The way you are implementing the robots txt seems logical to me. But I'm still being thrown off by the statement that I've run into of there being only one instance of the file for your, our, shared hosting plans. I'll most likely set everything the way you are and change it later if I find out differently. thanks, Mark |
| | |
| | #11 | |
| pay them no mind War Room Member Join Date: Jul 2009 Location: StL
Posts: 1,133
Thanks: 207
Thanked 353 Times in 229 Posts
| Quote:
In my Google Analytics and Webmaster Tools each domain and subdomain is reported/tracked individually ("+ new site"). In my Webmaster Tools, I can see that Google crawled and found and reported on the robots.txt of each domain and subdomain site I have added to my Webmaster Tools. It shows you the content of each Robots.txt too so I know that EACH domain/subdomain's ROBOTS.TXT is crawled being crawled and registered. The Crawler access tab which can be found under Site Configuration in Google Webmaster Tools. If your site has content you don't want Google or other search engines to access, use a robots.txt file to specify how search engines should crawl your site's content. If private or out-of-date content is appearing in Google search results, use the Removal URL tool to request its removal (but first, make sure to review our removal requirements). | |
| scott g "Whatever the mind can conceive and believe, the mind can achieve." zoloft birth defects & zoloft lawsuit paxil birth defects & paxil lawsuit avandia lawsuit celexa birth defects & celexa lawsuit lexapro birth defects & lexapro lawsuit lawsuitinformation.org | ||
| | |
| | #12 | |
| pay them no mind War Room Member Join Date: Jul 2009 Location: StL
Posts: 1,133
Thanks: 207
Thanked 353 Times in 229 Posts
| Quote:
Please, disregard what you think you know. It will make things easier! | |
| scott g "Whatever the mind can conceive and believe, the mind can achieve." zoloft birth defects & zoloft lawsuit paxil birth defects & paxil lawsuit avandia lawsuit celexa birth defects & celexa lawsuit lexapro birth defects & lexapro lawsuit lawsuitinformation.org | ||
| | |
| | #13 |
| Advanced Warrior War Room Member Join Date: Nov 2003 Location: Oregon State, USA.
Posts: 627
Thanks: 482
Thanked 365 Times in 226 Posts
|
Thanks Scott! I will do as you suggest and not worry myself any further. It does make sense to me the way you have implemented robots.txt. Mark |
| | |
![]() |
|
| Tags |
| addon, domain, robotstxt |
| Thread Tools | |
| |
![]() |