Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
If my website do not have a robot.txt file, does it hurt my website ranking?
- 
					
					
					
					
 After a site audit, I find out that my website don't have a robot.txt. Does it hurt my website rankings? One more thing, when I type mywebsite.com/robot.txt, it automatically redirect to the homepage. Please help! 
- 
					
					
					
					
 One word answer: NO Robots.txt informs search engine crawlers (bots) about which web pages should and should not be crawled and indexed. It uses directives like Allow and Disallow to specify these instructions. If you haven't added a robots.txt file to your website, it generally means search engine crawlers will assume permission to crawl all your publicly accessible web pages. This can have both positive and negative consequences: Positive Impacts: - Complete Indexing: All your web pages that are publicly available will likely be crawled and indexed by search engines, potentially improving your website's discoverability in search results.
 Negative Impacts: - 
Unnecessary Crawling: Search engines might crawl pages that aren't valuable for search results, such as login pages, duplicate content, or temporary files. This can overload your server with unnecessary requests. 
- 
Confidentiality Issues: If you have any sensitive information on your website that shouldn't be publicly indexed (like internal documents or admin pages), it might get crawled without a robots.txt blocking it. 
 It's generally recommended to create a robots.txt file to: - Prevent crawling of unimportant pages.
- list itemProtect confidential information.
- list itemInstruct crawlers on how to crawl your site efficiently.
 Just for your reference check this website robots.txt. 
- 
					
					
					
					
 Googlebot might not index all pages and blog posts unless you have a robot.txt. We added one to our garden office company website; we noticed organic seo improvements are within the month, we gained more sales. 
- 
					
					
					
					
 Hi, No, your website will work just fine without a robots.txt file. Without a robots.txt file search engines will have a free run to crawl and index anything they find on the website. This is fine for most websites but it’s really good practice to at least point out where your XML sitemap is so search engines can find new content without having to slowly crawl through all the pages on your website and bumping into them days later. It shouldn't go to homepage if mywebsite.com/robot.txt doesn't exist shoud go to custom 404 error page. Hope this helps. Thanks 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		What to do with PDFs that rank well?
 Looking at some reports, I found that a client's site has PDFs that are ranking well for niche terms and getting some traffic. What can I do to get more out of them from a marketing standpoint? The obvious issue is that a PDF doesn't have the interactivity of a site visit, where we have analytics and CTAs. Someone has to follow a link back from the PDF to the site for us to even register a visit, let alone try to get their email or have them otherwise convert. My first guess is to make landing page summaries of the PDF content that link to the PDF, and canonical the PDF to the respective landing page. Has anyone tried this, or done something else that they would recommend again in this situation? Intermediate & Advanced SEO | | JFA0
- 
		
		
		
		
		
		Disallow URLs ENDING with certain values in robots.txt?
 Is there any way to disallow URLs ending in a certain value? For example, if I have the following product page URL: http://website.com/category/product1, and I want to disallow /category/product1/review, /category/product2/review, etc. without disallowing the product pages themselves, is there any shortcut to do this, or must I disallow each gallery page individually? Intermediate & Advanced SEO | | jmorehouse0
- 
		
		
		
		
		
		Dilemma about "images" folder in robots.txt
 Hi, Hope you're doing well. I am sure, you guys must be aware that Google has updated their webmaster technical guidelines saying that users should allow access to their css files and java-scripts file if it's possible. Used to be that Google would render the web pages only text based. Now it claims that it can read the css and java-scripts. According to their own terms, not allowing access to the css files can result in sub-optimal rankings. "Disallowing crawling of Javascript or CSS files in your site’s robots.txt directly harms how well our algorithms render and index your content and can result in suboptimal rankings."http://googlewebmastercentral.blogspot.com/2014/10/updating-our-technical-webmaster.htmlWe have allowed access to our CSS files. and Google bot, is seeing our webapges more like a normal user would do. (tested it in GWT)Anyhow, this is my dilemma. I am sure lot of other users might be facing the same situation. Like any other e commerce companies/websites.. we have lot of images. Used to be that our css files were inside our images folder, so I have allowed access to that. Here's the robots.txt --> http://www.modbargains.com/robots.txtRight now we are blocking images folder, as it is very huge, very heavy, and some of the images are very high res. The reason we are blocking that is because we feel that Google bot might spend almost all of its time trying to crawl that "images" folder only, that it might not have enough time to crawl other important pages. Not to mention, a very heavy server load on Google's and ours. we do have good high quality original pictures. We feel that we are losing potential rankings since we are blocking images. I was thinking to allow ONLY google-image bot, access to it. But I still feel that google might spend lot of time doing that. **I was wondering if Google makes a decision saying, hey let me spend 10 minutes for google image bot, and let me spend 20 minutes for google-mobile bot etc.. or something like that.. , or does it have separate "time spending" allocations for all of it's bot types. I want to unblock the images folder, for now only the google image bot, but at the same time, I fear that it might drastically hamper indexing of our important pages, as I mentioned before, because of having tons & tons of images, and Google spending enough time already just to crawl that folder.**Any advice? recommendations? suggestions? technical guidance? Plan of action? Pretty sure I answered my own question, but I need a confirmation from an Expert, if I am right, saying that allow only Google image access to my images folder. Sincerely,Shaleen Shah Intermediate & Advanced SEO | | Modbargains1
- 
		
		
		
		
		
		Does blocking foreign country IP traffic to site, hurt my SEO / US Google rankings?
 I have a website is is only of interest to US visitors. 99% (at least) of Adsense income is from the US. But I'm getting constant attempts by hackers to login to my admin account. I have countermeasures fo combat that and am initiating others. But here's my question: I am considering not allowing any non US, or at least any non-North American, traffic to the site via a Wordpress plugin that does this. I know it will not affect my business negatively, directly. However, are there any ramifications of the Google bots of these blocked countries not being able to access my site? Does it affect the rankings of my site in the US Google searches. At the very least I could block China, Russia and some eastern European countries. Intermediate & Advanced SEO | | bizzer0
- 
		
		
		
		
		
		Is it normal to initially rank low in the SERPs, then over time gain rank?
 We just released a very targeted page for a specific item about 18 hours ago. For the main keyword as well as multiple variations, we currently are ranking around # 40 to # 50 depending on what the exact query is. Is it normal to initially rank lower in the SERPs and then as the page ages, gain? Thank you for your insights! Intermediate & Advanced SEO | | DJ1231
- 
		
		
		
		
		
		We have two different websites with the same products and information, will that hurt our rankings?
 We have two different domains, one for the UK and the other for the US, they have the exact same products, categories and information. (the information is almost the same in 400 products) We know that Google could recognize that as duplicate content, but will that actually hurt our rankings in both sites? Is it better if we create two completely different versions of the content on those pages? Intermediate & Advanced SEO | | DoitWiser0
- 
		
		
		
		
		
		Using 2 wildcards in the robots.txt file
 I have a URL string which I don't want to be indexed. it includes the characters _Q1 ni the middle of the string. So in the robots.txt can I use 2 wildcards in the string to take out all of the URLs with that in it? So something like /_Q1. Will that pickup and block every URL with those characters in the string? Also, this is not directly of the root, but in a secondary directory, so .com/.../_Q1. So do I have to format the robots.txt as //_Q1* as it will be in the second folder or just using /_Q1 will pickup everything no matter what folder it is on? Thanks. Intermediate & Advanced SEO | | seo1234560
- 
		
		
		
		
		
		Block an entire subdomain with robots.txt?
 Is it possible to block an entire subdomain with robots.txt? I write for a blog that has their root domain as well as a subdomain pointing to the exact same IP. Getting rid of the option is not an option so I'd like to explore other options to avoid duplicate content. Any ideas? Intermediate & Advanced SEO | | kylesuss12
 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				