Platform Guides • 14 min read

How to Edit Robots.txt on Wix (and What You Can Control Instead)

Learn how to edit robots.txt on Wix using the Robots.txt Editor, add safe rules, test them, and use noindex instead when a page must stay out of Google.

By SEO Free Editorial Team
Published: December 2, 2026
How to edit robots.txt on Wix — editor steps and safe rules, on SEO Free

Wix handles most of your site's technical SEO for you, and robots.txt is a good example. The moment your site goes live, Wix generates a robots.txt file, keeps it updated when you publish pages or change settings, and points search engines at your sitemap — all without you touching a line of code. For most Wix sites, that default file is exactly right, and the best edit you can make is none at all.

But there are real situations where the default is not enough: a test section you do not want crawled, a filter parameter creating endless URL variations, or an AI training bot you would rather keep out. Wix gives you a built-in Robots.txt Editor for exactly those cases. This guide shows you where it lives, how to use it step by step, what is safe to change, and — just as importantly — what you should control with a different setting instead. Every step below follows Wix's own published behaviour, so you can follow it on a live site without guessing.

What Wix's default robots.txt does

Every Wix site has a robots.txt file at the root of its domain — open yourdomain.com/robots.txt in a browser and you can read it. By default, Wix's file allows search engine bots to access all of your site's pages. It also includes a Sitemap line pointing crawlers at your sitemap, so Google and Bing can find your pages efficiently.

There are a few exceptions to that "everything is allowed" default, and they are worth knowing because they explain most of the crawl behaviour you will ever see on a Wix site. Bots may not be able to access pages that are password protected, pages that are restricted to members only, or pages you have prevented from being indexed in the Editor or in your SEO settings. Wix manages those cases for you: when you publish a page or change a setting, Wix automatically updates your robots.txt file, and when you change site settings the file is updated immediately.

That automatic behaviour is the first thing to understand before you edit anything. Your robots.txt is not a static file you own outright — it is a generated file that Wix keeps in sync with your site. Your edits sit on top of that generated base, which is why the editor lets you reset the file to Wix's default at any time.

Where the Robots.txt Editor lives

Wix keeps robots.txt editing in the dashboard, not in the site editor. The editor is reached through the SEO & GEO section of your site's dashboard, under Tools and settings. There is no file to upload and no hosting panel involved — you edit the file's text in the browser and save it there.

Before you open it, Wix itself gives you a warning worth taking seriously: editing your robots.txt file is an advanced feature, and making changes can cause issues with your site appearing in search results. Wix Customer Care cannot help you with any changes you make to the file. That is not boilerplate — a single wrong line can hide your whole site from Google, and the only built-in recovery is the Reset to Default button, which also removes any good rules you added. Keep a copy of your file's text before you change it, so you can put it back exactly as it was.

How to edit robots.txt on Wix, step by step

  1. Read your current file first. Open yourdomain.com/robots.txt in a browser tab and read every User-agent group and Disallow line. Note the Sitemap line at the bottom and confirm it points at your real sitemap. Copy the whole file and save it somewhere safe — a text file on your computer is enough. This copy is your rollback plan.
  2. Open the SEO & GEO dashboard. In your Wix dashboard, go to SEO & GEO. This is the section that holds Wix's search tools, including the sitemap, the robots.txt editor, and the llms.txt settings.
  3. Open the Robots.txt Editor. Scroll down to Tools and settings and click Robots.txt Editor. Then click View File to see the file Wix is currently serving.
  4. Add your rules under "This is your current file". The editor shows your live file in a text box. Add your directives below the existing lines, under the heading "This is your current file". Do not delete Wix's existing lines or the Sitemap line — your rules are additions to the generated file, not a replacement for it.
  5. Click Save Changes, then Save. Click Save Changes, then confirm by clicking Save in the confirmation that appears. The file is now live.
  6. Check the live file in a new tab. Open yourdomain.com/robots.txt again and confirm your new lines are there. Search engines will pick up the new version the next time they crawl your site, so do not expect instant changes in Google.
  7. Test your rules with a robots.txt tester. Before you trust the edit, run your file through a free robots.txt tester: paste your live file, enter the URLs you meant to block and the URLs you meant to allow, and confirm the tester agrees with you.
  8. Watch Search Console for a few days. In Google Search Console, open Settings and then the robots.txt report to see the file Google last fetched and whether it reports any errors. If a page you care about suddenly shows as blocked, you will see it there first.

What to put in the file: safe example rules

Most Wix sites need zero edits. Edit only when you can name a specific crawl problem. These are the patterns that solve real problems, and each one is safe to adapt to your own paths:

  • Block a section you never want crawled. If you have an internal test area, add a group such as User-agent: * followed by Disallow: /test-pages/. Remember that blocked pages can still appear in Google if other sites link to them — robots.txt controls crawling, not indexing, so use a noindex setting instead if the page must stay out of results.
  • Block an endless URL parameter. If a filter or sort parameter creates unlimited variations of the same page, a rule such as Disallow: /*?filter= keeps crawlers from chasing every combination. Use this only when those URLs genuinely never need to be crawled.
  • Block AI training bots, but not AI search. If you want your pages to be citable by AI assistants but not used for model training, block the training crawlers specifically. Wix's own help gives an example list that disallows CCBot, GPTBot, ChatGPT-User, and BingAI. Keep the AI search fetchers — such as OAI-SearchBot — allowed if you want your content to appear in AI answers, a distinction our guide to llms.txt explains in more detail.
  • Leave the Sitemap line alone. Wix's file ends with a Sitemap line pointing at your sitemap. Deleting it does not break your site, but it removes a useful hint that helps crawlers discover new pages quickly. There is no reason to remove it.

What you cannot control with robots.txt on Wix

Robots.txt is a narrow tool, and several common goals need a different setting. Trying to force them through robots.txt is how most Wix robots.txt mistakes happen.

Hiding a page from Google. Robots.txt does not remove a page from search results. A blocked page can still be indexed if Google finds links to it, and it will show up as a URL without a title or description. To keep a page out of Google, use the robots meta tag instead: in the Wix Editor, open the page's SEO settings and switch off "Let search engines index this page". That adds a noindex tag, which is the correct way to keep a page out of results. The same switch exists in the SEO Settings for a whole page type, such as all blog posts or all product pages.

Password-protected and members-only pages. These are already unreachable to crawlers because of how Wix protects them, and you do not need a robots.txt rule for them. If a members-only page shows up in a crawl report, the fix is in the page's access settings, not in robots.txt.

Pages you already told Wix not to index. If you switched off indexing for a page in the Editor or in SEO Settings, Wix reflects that in the generated robots.txt automatically. Adding your own duplicate rule only creates a second place to maintain — and a second place to forget when the page's status changes.

Instant changes. Robots.txt is a suggestion that crawlers read on their own schedule. After you save, search engines update their cached copy the next time they crawl your site. There is no button to force Google to re-read it immediately, though submitting your homepage's URL can nudge a recrawl. Give it a few days before judging the result.

Tips for editing robots.txt on Wix safely

  • Start from a copy, not from memory. Save the live file's text before you edit, and keep it until you have confirmed the change works. If anything goes wrong, you can paste the original back instead of guessing what it said.
  • Make one change at a time. Add a single rule, save, and check the live file and Search Console before adding the next. If something breaks, you will know exactly which line did it.
  • Never use a bare Disallow: / unless you mean it. Under User-agent: *, the line Disallow: / tells every crawler to skip every page on your site. It is the single most common catastrophic robots.txt mistake, and on Wix it takes one stray keystroke to type. Double-check that line before every save.
  • Test before and after. Run the file through a robots.txt tester before you save it and again after it goes live. Testing catches typos — a missing slash, a wrong path — that look harmless in the editor and block real pages in production.
  • Remember the file is regenerated. Wix updates robots.txt automatically when you publish a page or change site settings. If a rule you added seems to vanish or a new line appears, check whether a site change triggered a regeneration before assuming the editor failed.
  • Keep the rule list short. Wix gives no documented size limit for the file and the editor has no preview or validator built in, so a long, complicated file is hard to review and easy to break. A handful of clear rules beats a wall of directives.
  • Use noindex for pages, robots.txt for crawl budget. The cleanest mental model is this: robots.txt decides what crawlers spend time fetching; the noindex switch decides what appears in results. Use each tool for its own job.

Common problems and how to fix them

"Blocked by robots.txt" in Wix Site Inspection or Search Console. If you see this error and you have never edited your robots.txt file, do not edit the file to fix it. Wix's own guidance is that the cause is almost always elsewhere: check whether the page has indexing switched off in the Editor or in SEO Settings, whether it is password protected, or whether it is members-only. Fix the setting that is actually blocking the page. Our guide to fixing "Submitted URL Blocked by Robots.txt" in Search Console walks through the same diagnosis in detail.

Your edit is not showing on the live file. First, hard-refresh yourdomain.com/robots.txt — browsers and CDNs cache the file. Then reopen the editor and confirm your lines are still under "This is your current file" and that you clicked Save Changes and then Save; closing the editor after only the first click does not save. If the lines are gone, a site change may have triggered a regeneration — re-add them and check again.

A page you need is blocked after your edit. Open the live file, find the Disallow line that matches the page's path, and remove or narrow it. A wildcard such as /*? blocks far more than a single parameter, and a missing trailing slash can turn a rule for one folder into a rule for every URL that starts with those letters. After fixing it, test the URL in a robots.txt tester and request a recrawl of the page in Search Console.

Reset removed your good rules too. Reset to Default restores Wix's generated file exactly — it does not keep your custom rules. That is why the pre-edit copy matters: if you reset by accident, paste your saved rules back into the editor instead of rewriting them from memory.

AI bots are still crawling after you blocked them. Robots.txt is voluntary, and some crawlers are slow to honour changes or fetch the file infrequently. Give it a week, confirm the live file actually contains your Disallow lines, and check your server logs or Wix analytics for the bot's user-agent. If a bot ignores robots.txt entirely, blocking it is a hosting-level job, not a robots.txt job.

Your sitemap disappeared from the file. If the Sitemap line is missing after an edit, you probably deleted it by accident while editing. Add it back — it should read Sitemap: followed by your sitemap's full URL — and save again. Wix regenerates the line when you publish a page, so a fresh publish can also restore it.

Frequently asked questions

Can I edit robots.txt on a Wix site?

Yes. Go to SEO & GEO in your site's dashboard, scroll down to Tools and settings, click Robots.txt Editor, then click View File. Add your rules under "This is your current file", click Save Changes, then Save. You can see the live result at yourdomain.com/robots.txt.

Do I need to edit robots.txt on Wix at all?

Usually not. Wix's default file already allows search engines to access all of your pages and points them at your sitemap, and Wix keeps it updated automatically. Edit it only when you have a specific crawl problem to solve, such as a test section to block or a parameter creating endless URLs.

What is the difference between robots.txt and the "Let search engines index this page" switch?

Robots.txt tells crawlers which URLs they may fetch; it does not remove pages from search results. The "Let search engines index this page" switch adds a noindex meta tag, which tells search engines to leave the page out of results entirely. Use robots.txt to manage crawl budget and the switch to hide a page.

How do I undo a robots.txt change on Wix?

Open the same editor, click View File, then click Reset to Default and confirm with Reset. That restores Wix's generated file. Note that it also removes any good rules you added, so re-add them from the copy you saved before editing.

How long does it take for Google to use my new robots.txt?

Search engines re-read your robots.txt the next time they crawl your site, which can take days. You can check what Google last fetched in Search Console under Settings and then the robots.txt report. There is no way to force an instant re-read, so make the change, verify the live file, and give it a few days.

Bottom line

Wix gives you a capable robots.txt editor, but the best Wix robots.txt strategy is restraint. The default file already does the right thing for almost every site: it lets search engines in, points them at your sitemap, and stays in sync with your pages automatically. Open the editor only when you can name the problem you are solving, save a copy of the file first, add one rule at a time, and test every change with a robots.txt tester before and after it goes live. And when the goal is hiding a page rather than saving crawl budget, reach for the noindex switch instead — it is the tool Wix built for that job, and it is the one that actually keeps the page out of Google.

Validate Your Robots.txt Directives in Bulk

Test up to 100 paths simultaneously against your live or draft rules using our RFC 9309 compliant evaluation engine.

Open Bulk Robots.txt Tester

Related Technical Guides