Robots.txt | any SEO advantage to having one vs not having one?
-
Neither of my sites has a robots.txt file. I guess I have never been bothered by any particular bot enough to exclude it.
Is there any SEO advantage to having one anyways?
-
It's good practice, especially if you are operating a CMS that can create accessible URLs that cause duplicate content problems, create "junk" pages, etc. For example: http://www.asos.com/robots.txt
Google dislikes search results pages being indexed, so you can block those off, e.g. http://moz.com/robots.txt
You can disallow the archive.org bot if you don't want old versions of your site appearing in its search engine, and as others have said you can point to your xml sitemap.
It's not a bad resource to have at your disposal for site hygiene / maintenance reasons, but it's not an absolute necessity either.
-
There are actually a couple good reasons but in short, it's "best practice" so it won't hurt by adding it in. It wont take more than a couple minutes.
-
Just good practice. One SEO advantage would be to include a reference to your sitemap within the robots.txt file.
Aside from that, if you want all of your pages crawled and don't have a sitemap (although you should), no need for a robots.txt file.
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
-
Robots.txt in subfolders and hreflang issues
A client recently rolled out their UK business to the US. They decided to deploy with 2 WordPress installations: UK site - https://www.clientname.com/uk/ - robots.txt location: UK site - https://www.clientname.com/uk/robots.txt
Technical SEO | | lauralou82
US site - https://www.clientname.com/us/ - robots.txt location: UK site - https://www.clientname.com/us/robots.txt We've had various issues with /us/ pages being indexed in Google UK, and /uk/ pages being indexed in Google US. They have the following hreflang tags across all pages: We changed the x-default page to .com 2 weeks ago (we've tried both /uk/ and /us/ previously). Search Console says there are no hreflang tags at all. Additionally, we have a robots.txt file on each site which has a link to the corresponding sitemap files, but when viewing the robots.txt tester on Search Console, each property shows the robots.txt file for https://www.clientname.com only, even though when you actually navigate to this URL (https://www.clientname.com/robots.txt) you’ll get redirected to either https://www.clientname.com/uk/robots.txt or https://www.clientname.com/us/robots.txt depending on your location. Any suggestions how we can remove UK listings from Google US and vice versa?0 -
Magento technical SEO issues
Hi This is lots of questions and don't expect full answers but if anyone can help or put me in touch with some who can that would be great so here are 3 issues we have from some auditing our site Firstly on pages like https://www.tidy-books.co.uk/shop-with-us/sort-by/price/sort-direction/desc so any pages where there is a sortby the cananoical link doesn't seem to be working correctly. So for here it is https://www.tidy-books.co.uk/shop-with-us/sort-by/price/sort-direction/desc"/> but should be https://www.tidy-books.co.uk/shop-with-us"/> secondly with have a lot of duplicate title tags mainly caused from the blog and the above problem see-> http://prntscr.com/b2t9xe but regarding the blog we have an issue where 2 canonical appearing for example this page
Technical SEO | | tidybooks
https://www.tidy-books.co.uk/blog/page/19/ there are 2 canonical links appearing https://www.tidy-books.co.uk/blog/page/19/"/> we want it to be this
https://www.tidy-books.co.uk/blog/"/> Thirdly
Our mobile usability issues have gone up a lot see- > http://prntscr.com/b2tado
I can see what the issue is that this folder https://www.tidy-books.co.uk/skin/frontend/tidybooks/default/images/ was being crawled by google and contains lots of 'index of' pages. I've disallowed directory in robots.txt as shown here -> http://prntscr.com/b2tbc5 is that correct? any help would be great Just to let you know we use magento v1.7 we use SEO suite ultimate extension and we use fishpigs wordpress extension thanks0 -
Have hostings location an impact on SEO
Hello everybody 🙂 I know, that some years ago it was important that you host your site in the same country where your target audience was in relation to SEO. Because Google used that to find out which country your target audience was. But is this still important and have it an influence today regarding to SEO? Hope there is someone who can help 🙂
Technical SEO | | JoLinda910 -
Is all in one seo getting rid of my google authorship?
is all in one seo getting rid of my google authorship? I had it before and after installing All in One it is not coming up anymore. I have nothing in the google plus field of the main All in one settings, and I have it inserted in my user->your profile. When I view page source it is there. But it does not show up in the search, see: https://www.google.com/search?q=chicago+nightlife+superstar It even works in the rich snippet tester: http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Fwww.howlatthemoon.com%2Fdueling_piano_bar%2Fchicago-nightlife-superstar%2F&html= Also my title has changed. It is correct in the tester but not in Google. Please help!!!
Technical SEO | | howlusa0 -
Multiple site in one? Recommendations?
I have 2 companies that essential do the same thing. They have different names and different domain names. One is a USA company and the other is a South American Company. My intnent was to create a single site with both english and spanish content and then create a english home page and a spanish homepage. I was hoping to direct the spanish domain name to the spanish homepage and the english to the english homepage. This way I will only have one site to maintain - one ecommerce site to maintain and can direct teh links to a single site - although they will essentially be kinda different. My question is... what are the pluses and minuses of doing this? Would I better creating 2 separate sites? is there going to be an issue with google maybe seeing duplicate content although the pages are seperate for each language? Any other considerations that I just wasnt smart enough to think of?
Technical SEO | | brantwadz0 -
SEO - Localization
Hello Folks, I'm curious why my landing page is ranking at #1 on www.google.com.br ( brazil ). keyword: build wizard diablo 3. My lp is above well know domain names such as: wikia.com , blizzard.com , and also above a keyworded domain name: www.wizardbuilds.com/ Is just because my website is focus in brazilian google( .com.br ) or is because my landing page are better than the others( i don't think so)? Thanks.
Technical SEO | | augustos1 -
Robots.txt
should I add anything else besides User-Agent: * to my robots.txt file? http://melo4.melotec.com:4010/
Technical SEO | | Romancing0 -
Local SEO Optimization
hi, Looks for advices,tips, links ressource to improve local seo optimisation in google places for domain "google. fr" as website business is in France ! Tks a lot in advance..
Technical SEO | | mozllo0