🩺 Website Health Scanner

← All fix guides

How to Fix Missing robots.txt

What it is

robots.txt is a small text file at the root of your site (yourdomain.com/robots.txt) that gives crawlers instructions, such as which areas to skip and where your sitemap is.

Why it matters

How to fix it

  1. Create a text file named robots.txt.
  2. A simple safe version is: User-agent: * then Allow: / then Sitemap: https://yourdomain.com/sitemap.xml.
  3. Upload it to your site root.
  4. Open yourdomain.com/robots.txt in a browser to check, then re-scan.

Platform tips

WordPressWordPress serves a virtual robots.txt by default; SEO plugins (Yoast, Rank Math) let you edit it. Check Settings > Reading that search engines are not discouraged.
WixWix creates one automatically; edit it under Marketing & SEO > SEO Tools > Robots.txt Editor.
SquarespaceSquarespace generates it automatically and it cannot be fully replaced; check that the site is not set to private.
ShopifyShopify generates it automatically; customise through the robots.txt.liquid template if needed.
Plain HTMLSave a file called robots.txt in the same folder as your homepage and upload it.

Re-scan your site

Related guides

Disclaimer: This guide is general, informational advice only and is not legal, medical, financial, compliance or professional advice. Menu names on platforms change over time; check the platform's own help if something looks different.