Fix guide · Wix
How to Fix a Missing robots.txt in Wix (2026)
Wix automatically generates a robots.txt file for every published site — so a "missing robots.txt" finding usually means the file is inaccessible rather than truly absent. Common causes include an unconnected custom domain, DNS misconfiguration, or the site not being published yet. This guide shows you how to verify your robots.txt is working and how to customize it if needed.
Why it matters
What this issue costs you
robots.txt tells crawlers which parts of your site to access or avoid. While Google will still crawl without it, a working robots.txt is part of baseline technical SEO hygiene. It also contains a pointer to your sitemap, which helps search engines discover all your pages efficiently.
Step-by-step
How to fix: Missing robots.txt
Wix
- 1
Verify your robots.txt is accessible
Visit https://yourdomain.com/robots.txt in your browser. You should see a plain-text file with User-agent and Sitemap directives. If you see a 404 error or your site's homepage instead, the issue is likely with your domain setup or publishing status — see the next steps.
- 2
Publish your site
Wix only generates robots.txt for published sites. If your site is in draft or unpublished state, the file will not exist. Click "Publish" in the Wix Editor to make your site (and its robots.txt) live.
- 3
Check your domain connection
If you have a custom domain, make sure it is properly connected and set as primary in Dashboard > Settings > Domains. A domain that is not fully connected (pending DNS propagation or missing DNS records) may not serve the robots.txt correctly. Wix generates robots.txt on the primary domain.
- 4
Customize your robots.txt
To add custom rules to your Wix robots.txt: go to Dashboard > SEO > SEO Tools > Robots.txt Editor. Here you can add custom directives (such as Disallow rules for specific paths). Wix will merge your custom rules with its auto-generated defaults. Be careful not to accidentally block important pages — the editor shows a preview of the final file.
Verify the fix
Run the checker to confirm the issue is resolved
After applying the steps above, paste your URL below. Our checker will re-run every applicable check and show whether missing robots.txt still shows as a failing check.
FAQ
Common questions about missing robots.txt
Can I fully control the robots.txt content on Wix?
Partially. Wix auto-generates the base robots.txt and lets you add custom rules through the Robots.txt Editor in the SEO Tools section. You cannot delete Wix's default directives, but you can add your own Disallow or Allow rules on top of them.
Does Wix include a sitemap reference in robots.txt?
Yes. Wix automatically includes a Sitemap directive in the robots.txt pointing to your auto-generated sitemap.xml. This helps search engines find all your pages.
My robots.txt shows the wixsite.com URL. How do I fix it?
Set your custom domain as the primary domain in Dashboard > Settings > Domains. Once the custom domain is primary, Wix will serve robots.txt under that domain with the correct URLs. Republish your site after making the change.
While you're here
Related fix guides for Wix
Need a full audit?
This checker spots individual issues instantly. deepseoanalysis.com crawls your whole site and tracks changes weekly, from $24/mo.
See all WordPress fix guides, or run a free check now.