Skip to content
Nazmul Nikhil
Menu

Robots.txt Not Found (Semrush): Add a Simple Robots.txt

Semrush notices your site has no robots.txt. Without one, crawlers can crawl everything, which is often fine. Here's a safe starter file.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Robots.txt Not Found (Semrush): Add a Simple Robots.txt
Photo: Neil Martin on Unsplash

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.

Sources and references

TAGSSemrush Site AuditSemrush robots.txt not foundCreate robots.txtMissing robots.txt
Nazmul Nikhil

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.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com