T
ToolPrime

robots.txt for Wix

Recommended robots.txt configuration for Wix websites. Understand what Wix generates and how to customize it.

robots.txt

User-agent: *
Disallow: /_api/
Disallow: /_partials/
Disallow: /Members/
Allow: /

Sitemap: https://example.com/sitemap.xml

Line-by-Line Explanation

User-agent: * — applies to all crawlers

Disallow: /_api/ — blocks Wix internal API endpoints

Disallow: /_partials/ — blocks partial page renders used internally

Disallow: /Members/ — blocks member account pages

Allow: / — ensures all public content is crawlable

Sitemap — points to the Wix-generated sitemap

Best Practices for Wix

Build a custom robots.txt for your Wix site

Open robots.txt Generator

Frequently Asked Questions

Can I edit robots.txt on Wix?▾
Wix does not allow direct editing of robots.txt. It is auto-generated based on your site settings. Use the page SEO settings to control indexing per page.
Does Wix generate a sitemap automatically?▾
Yes. Wix creates and maintains a sitemap.xml automatically. You can view it at yourdomain.com/sitemap.xml and submit it in Google Search Console.
How do I prevent Wix pages from being indexed?▾
Use the SEO settings on individual pages to set "noindex". You cannot block specific paths via robots.txt on Wix, but noindex is more effective for preventing indexing anyway.

Related Templates