header-logo
Getting started with WixBuild your website and business with Wix. Try using our AI tools to create your website, customize templates, or hire professionals to build or enhance your online presence.
Creating a websiteRead how to use the Wix Editor and manage content on your site. Discover how to protect your visitors' privacy and make your site accessible.
Account & billingReview your account settings, manage your subscriptions and plans and understand your invoices.
Using the Wix mobile appsUse our mobile apps to run your business efficiently on the go and set up a dedicated app for your site members to stay in touch.
Connecting a domainFollow our step-by step guides to learn how to purchase, connect or transfer a domain for your site, and find out how to keep your site’s data secure.
Managing your businessGet tools to grow your business and web presence. Find the right tools for your specific needs, set up online payments and keep track of your site's analytics.
Promoting your siteLearn to make your site more visible promoting it on search engines, sending emails and running paid ads. Improve your online presence with practical tips.
Studio, Partners & EnterpriseGet the most out of your Studio or Enterprise account with advanced features that'll help you work more efficiently.
Need more help?Find solutions for site performance and technical issues, learn about issues we’re working to fix or contact us for help.
placeholder-preview-image
Wix LearnImprove your skills with our courses and tutorials.
Wix BlogGet tips for web design, marketing and more.
SEO Learning HubLearn to increase organic site traffic from search engines.
Website developmentBuild a custom site using our full-stack platform.
Hire a ProfessionalGet matched with a specialist to help you reach your goals.
placeholder-preview-image
In this article
  • Understanding your robots.txt file
  • Editing your robots.txt file
  • Resetting your robots.txt file
  • Robots.txt error in Wix Site Inspection or Google Search Console

Editing Your Site’s Robots.txt File

In this article
  • Understanding your robots.txt file
  • Editing your robots.txt file
  • Resetting your robots.txt file
  • Robots.txt error in Wix Site Inspection or Google Search Console
Important:
Editing your robots.txt file is an advanced feature. Making changes to this file can cause issues with your site appearing in search results. Wix Customer Care cannot help you with any changes you make to your robots.txt file.
A robots.txt file tells search engines which of your site's pages to include or skip in their search results. Search engines check your site's robots.txt file when they crawl and index your site. This doesn't guarantee that search engines will or won't crawl a page or file, but it can help prevent less accurate indexing attempts.

If you want better control of crawl requests to your site, you can edit your robots.txt file. 
Tip:

Understanding your robots.txt file

The robots.txt file contains instructions to allow or disallow certain requests from search engines. The “allow” command tells crawlers the links that they can follow, while the “disallow” command tells crawlers the links that they can't follow. It also includes the URL of your site's sitemap file.
You can view your site's robots.txt file by adding "/robots.txt" to your root domain. An example would be: https://www.mystunningwebsite.com/robots.txt
An example of a robots txt file
Want to learn more?

Editing your robots.txt file

You can edit your site's robots.txt file using the Robots.txt Editor in your site's SEO & GEO dashboard. Your site’s robots.txt file allows search engine bots to access all of your site's pages by default. Bots may not be able to access certain pages if they are: 
Before you make changes to your robots.txt file, we recommend checking Google's guidelines and limitations for robots.txt files.
Important:
Editing your site's robots.txt file may cause issues with your site's pages appearing in search results. 

To edit your robots.txt file:

  1. Go to SEO & GEO in your site's dashboard.
  2. Scroll down to Tools and settings.
  3. Click Robots.txt Editor.
  4. Click View File
  5. Add your robots.txt file info by writing the directives under This is your current file.
Editing your robots.txt file
  1. Click Save Changes
  2. Click Save
Tip:

Resetting your robots.txt file

If you changed your site's robots.txt file and want to change it back, you can reset it to its default state using the Robots.txt Editor in your site's SEO & GEO dashboard.

To reset your robots.txt file:

  1. Go to SEO & GEO in your site's dashboard.
  2. Scroll down to Tools and settings.
  3. Click Robots.txt Editor.
  4. Click View File
  5. Click Reset to Default.
Resetting your robots.txt file to its default state
  1. Click Reset.
Tip:

Robots.txt error in Wix Site Inspection or Google Search Console

You may sometimes see errors such as Blocked by robots.txt in your Wix Site Inspection report or your Google Search Console account
If you see an error like this, you don't need to edit your robots.txt file, especially if you never edited it before. Instead, you should check your pages for the following settings:
If you need to update a page, Wix automatically updates your robots.txt after you publish the page. If you change your site's settings, your robots.txt file is updated immediately.
After you make a change, search engines will update their cached version of your robots.txt file the next time that they crawl your site. If you need to update it sooner, you can try submitting your homepage to search engines for reindexing.

Helpmate

Hello

Need a bit more guidance?
Unlock personalized helpLog in to get the most out of Helpmate.