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
- 
		
		
		
		
		
		Should I optimize the login page? Will it affect the website SEO ranking?
 I'm trying to resolve the site crawl issues that we have on our website. One of the links that has different issue types together is our login page. Currently we have two login pages that have the same content but different sub domains. **However I'm wondering if optimizing SEO on our login pages affects our website SEO ranking and if it's something better to do or not. ** To point out the details of the issues, the issue types that the logins pages have are "duplicate title", "duplicate content", "missing H1", "missing description", "thin content", "missing canonical tag" I'd appreciate your help, thank you! Intermediate & Advanced SEO | | Kaylie0
- 
		
		
		
		
		
		SEO Best Practices regarding Robots.txt disallow
 I cannot find hard and fast direction about the following issue: It looks like the Robots.txt file on my server has been set up to disallow "account" and "search" pages within my site, so I am receiving warnings from the Google Search console that URLs are being blocked by Robots.txt. (Disallow: /Account/ and Disallow: /?search=). Do you recommend unblocking these URLs? I'm getting a warning that over 18,000 Urls are blocked by robots.txt. ("Sitemap contains urls which are blocked by robots.txt"). Seems that I wouldn't want that many urls blocked. ? Thank you!! Intermediate & Advanced SEO | | jamiegriz0
- 
		
		
		
		
		
		How to rank my website in Google UK?
 Hi guys, I own a London based rubbish removal company, but don't have enough jobs. I know for sure that some of my competitors get most of their jobs trough Google searches. I also have a website, but don't receive calls from it at all. Can you please tell me how to rank my website on keywords like: "rubbish removal london", "waste clearance london", "junk collection london" and other similar keywords? I know that for person like me (without much experience in online marketing) will be difficult task to optimize the website, but at least - I need some advices from where to start. I'm also thinking to hire an SEO but not sure where to find a trusted company. Most importantly I have no idea how much should pay to expect good results? What is too much and what is too low? I will appreciate all advices. Intermediate & Advanced SEO | | gorubbishgo0
- 
		
		
		
		
		
		What do you add to your robots.txt on your ecommerce sites?
 We're looking at expanding our robots.txt, we currently don't have the ability to noindex/nofollow. We're thinking about adding the following: Checkout Basket Then possibly: Price Theme Sortby other misc filters. What do you include? Intermediate & Advanced SEO | | ThomasHarvey0
- 
		
		
		
		
		
		If Robots.txt have blocked an Image (Image URL) but the other page which can be indexed has this image, how is the image treated?
 Hi MOZers, This probably is a dumb question but I have a case where the robots.tags has an image url blocked but this image is used on a page (lets call it Page A) which can be indexed. If the image on Page A has an Alt tags, then how is this information digested by crawlers? A) would Google totally ignore the image and the ALT tags information? OR B) Google would consider the ALT tags information? I am asking this because all the images on the website are blocked by robots.txt at the moment but I would really like website crawlers to crawl the alt tags information. Chances are that I will ask the webmaster to allow indexing of images too but I would like to understand what's happening currently. Looking forward to all your responses 🙂 Malika Intermediate & Advanced SEO | | Malika11
- 
		
		
		
		
		
		Would changing the file name of an image (not the alt attribute) have an effect of on seo / ranking of that image and thus the site?
 Would changing the file name of image, not the alt attribute nor the image itself (so it would be exactly the same but just a name change) have any effect on : a) A sites seo ranking b) the individual images seo ranking (although i guess if b) would be true it would have an effect on a) although potentially small.) This is the sort of change i would be thinking of making :  changed to  Intermediate & Advanced SEO | | Sam-P0
- 
		
		
		
		
		
		Robots.txt, does it need preceding directory structure?
 Do you need the entire preceding path in robots.txt for it to match? e.g: I know if i add Disallow: /fish to robots.txt it will block /fish Intermediate & Advanced SEO | | Milian
 /fish.html
 /fish/salmon.html
 /fishheads
 /fishheads/yummy.html
 /fish.php?id=anything But would it block?: en/fish
 en/fish.html
 en/fish/salmon.html
 en/fishheads
 en/fishheads/yummy.html
 **en/fish.php?id=anything (taken from Robots.txt Specifications)** I'm hoping it actually wont match, that way writing this particular robots.txt will be much easier! As basically I'm wanting to block many URL that have BTS- in such as: http://www.example.com/BTS-something
 http://www.example.com/BTS-somethingelse
 http://www.example.com/BTS-thingybob But have other pages that I do not want blocked, in subfolders that also have BTS- in, such as: http://www.example.com/somesubfolder/BTS-thingy
 http://www.example.com/anothersubfolder/BTS-otherthingy Thanks for listening0
- 
		
		
		
		
		
		Recovering from robots.txt error
 Hello, A client of mine is going through a bit of a crisis. A developer (at their end) added Disallow: / to the robots.txt file. Luckily the SEOMoz crawl ran a couple of days after this happened and alerted me to the error. The robots.txt file was quickly updated but the client has found the vast majority of their rankings have gone. It took a further 5 days for GWMT to file that the robots.txt file had been updated and since then we have "Fetched as Google" and "Submitted URL and linked pages" in GWMT. In GWMT it is still showing that that vast majority of pages are blocked in the "Blocked URLs" section, although the robots.txt file below it is now ok. I guess what I want to ask is: What else is there that we can do to recover these rankings quickly? What time scales can we expect for recovery? More importantly has anyone had any experience with this sort of situation and is full recovery normal? Thanks in advance! Intermediate & Advanced SEO | | RikkiD220
 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				