In short
Semrush notices "Robots.txt not found" when /robots.txt returns a 404. Google treats a 4xx robots.txt as having no rules. Adding a simple file is still useful: it lets you block admin or search pages and point crawlers to your sitemap.
A missing robots.txt isn't harmful on its own: crawlers treat it as "everything allowed."
A safe starter file
User-agent: *
Disallow:
Sitemap: https://example.com/sitemap.xml
An empty Disallow: allows everything. Add specific blocks only when you need them.
Where to add it
WordPress: usually served virtually; a 404 can mean a server rule is blocking it. Yoast and Rank Math let you edit it. Shopify and Wix: served automatically. Webflow: Site settings > SEO. Custom builds: add a file at the site root.
This guide isn't affiliated with or endorsed by Semrush.
Related issues
Sources and references
Semrush Knowledge Base, What Issues Can Site Audit Identify?
Google Search Central, How Google interprets the robots.txt specification

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



