Two Robots.txt files
-
Hi there
Can somebody please help me that one of my client site have two robot.txt files (please see below). One txt file is blocked few folders and another one is blocked completely all the Search engines. Our tech team telling that due to some technical reasons they using second one which placed in inside the server and search engines unable to see this file. www.example.co.uk/robots.txt - Blocked few folderswww.example.co.uk/Robots.txt - Blocked all Search Engines I hope someone can give me the help I need in this one.
Thanks in advance!
Cheers,
Satla -
Thank Riera
-
Hi Satia,
You mentioned that one robots.txt file placed in inside the server and search engine unable to see the file. If search engine won't see robots.txt file then what is the use of that robots.txt file?
AFAIK it must be placed under root directory an there is no way to keep two files with the same name. So you must have only one robots.txt and that should be placed under root directory.
Hope this helps.
Thanks
-
Hi Satla,
You're going to need to get rid of that 2nd version ASAP. The official standard for a robots.txt file is all lower case in the file name, so that's most likely what bots are seeing. But to err on the side of caution, I'd remove any possibilities of a "disallow: /" and remove that Robots.txt version.
Some servers are case sensitive, so you could run into issues here as well.
-
Hi,
I don't find any good reason why there are two files. There should be just one, where you specify everything you'd like to done.
If the tech team doesn't want to correct and leave just one file, may be because they are lazy or there might be some other issue that if they delete one file, the hole site blows up.Here, I leave you 2 Moz's articles about the robots.txt file.
What is Robots.txt? - Moz Learn
Learn About Robots.txt with Interactive Examples - Moz BlogTake into account that the name of the file must be in lower case. I've never seen any different and the servers are usually case sensitive with the filenames.
Hope its helpful.
GR
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Can Robots.txt on Root Domain override a Robots.txt on a Sub Domain?
We currently have beta sites on sub-domains of our own domain. We have had issues where people forget to change the Robots.txt and these non-relevant beta sites get indexed by search engines (nightmare). We are going to move all of these beta sites to a new domain that we disallow all in the root of the domain. If we put fully configured Robots.txt on these sub-domains (that are ready to go live and open for crawling by the search engines) is there a way for the Robots.txt in the root domain to override the Robots.txt in these sub-domains? Apologies if this is unclear. I know we can handle this relatively easy by changing the Robots.txt in the sub-domain on going live but due to a few instances where people have forgotten I want to reduce the chance of human error! Cheers, Dave.
On-Page Optimization | | davelane.verve0 -
How can I maximize my On Page for these two common usages
I have a page that is tuned for this query: 1886 ten dollar bill and I am happy with my placement. The same page performs poorly if someone types: 1886 $10 dollar bill Is there anything I can do short of having another page tuned for the $ rather than 10?
On-Page Optimization | | Banknotes0 -
If Two Internal Pages Rank for a Given Keyword, Are They Competing?
Let's say I'm a house painter working out of offices in Boston and Springfield. When I search for "Boston house painter" or "Massachusetts house painter," both my homepage and my Boston office page come up #8 and #9. That's good, sorta (2 results on first page), but I'd trade that scenario for a single result in the top 3. How likely is it that these two page are competing? If I removed the Boston page, would the homepage rank better? Or should I be happy I have two pages turning up the the first SERP? Any thoughts here appreciated. Thanks!
On-Page Optimization | | wparsons0 -
Description tag not showing in the SERPs because page is blocked by Robots, but the page isn't blocked. Any help?
While checking some SERP results for a few pages of a site this morning I noticed that some pages were returning this message instead of a description tag, A description for this result is not avaliable because of this site's robot.s.txt The odd thing is the page isn't blocked in the Robots.txt. The page is using Yoast SEO Plugin to populate meta data though. Anyone else had this happen and have a fix?
On-Page Optimization | | mac22330 -
Optimizing for two keywords
Hi there, my question is: I need to optimze two pages related to almost the same concept but different orientations. One keyword is "emocional intelligence development" and the other word is "emocional intelligence workshops" I can't mix the two pages in one unique page due to web strucutre reasons. Is it possible to optimize each web for each keyword independently although they have the concept emotional intelligence in common? Thanks
On-Page Optimization | | juanmiguelcr0 -
One or two keywords/pages
Hi, I have a question about good keyword practice. I have a page: http://www.holdnyt.dk/skader-karantaener/fodbold/england-premier-league It lists all injuries ("skader" in danish) and suspensions ("karantaener" in danish) for the english premier league in football/soccer. On the page one can choose to show only injuries OR suspensions, which have their own URLs: http://www.holdnyt.dk/skader-karantaener/fodbold/england-premier-league/skader http://www.holdnyt.dk/skader-karantaener/fodbold/england-premier-league/karantaener My question is - what is best. To optimize the first URL (the more general one) to fit both of the following keywords:
On-Page Optimization | | rasmusbang
"skader premier league" and "karantaener premier league" OR should i focus on optimizing the two latter URLs, the more specfiic to target the two keywords. Regards, Rasmus0 -
Using meta robots 'noindex'
Alright, so I would consider myself a beginner at SEO. I've been doing merchandising and marketing for Ecommerce sites for about a year and a half now and am just now starting to attempt to apply some intermediate SEO techniques to the sites I work on so bear with me. We are currently redoing the homepage of our site and I am evaluating what links to have on it. I don't want to lose precious link juice to pages that don't need it, but there are certain pages that we need to have on the homepage that people just won't search for. My question is would it be a good move to add the meta robots 'noindex' tag to these pages? Is my understanding correct that if the only link on the page is back to the homepage it will pass back the linkjuice? Also, how many homepage links are too many? We have a fairly large ecommerce site with a lot of categories we'd like to feature, but don't want to overdo the homepage. I appreciate any help!
On-Page Optimization | | ClaytonKendall0 -
Photogallery and Robots.txt
Hey everyone SEOMOZ is telling us that there are to many onpage links on the following page: http://www.surfcampinportugal.com/photos-of-the-camp/ Should we stop it from being indexed via Robots.txt? best regards and thanks in advance... Simon
On-Page Optimization | | Rapturecamps0