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
- ✓ Wix generates robots.txt automatically — you cannot upload a custom file.
- ✓ Use the Wix SEO panel to configure which pages are indexed.
- ✓ Set noindex on pages you want to exclude rather than relying on robots.txt.
- ✓ Check your actual robots.txt at yourdomain.com/robots.txt to see what Wix generates.
Build a custom robots.txt for your Wix site
Open robots.txt GeneratorFrequently 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
Squarespace robots.txt guide for Squarespace sites. Understand the auto-generated rules and available customization options. Shopify Recommended robots.txt configuration for Shopify stores. Handles collection filtering, checkout, and admin pages. WordPress Optimized robots.txt template for WordPress sites. Blocks admin, login, and plugin directories while allowing important content to be crawled.