Robots.txt file for Wix.
What is a Robots.txt File
A robots.txt file tells search engines which parts of your WordPress website they can crawl and index. This file should be placed in your root directory.
It helps you control what search engine bots can crawl and index on your website. For example, you can block access to sensitive folders like wp-admin or wp-includes.
This keeps your backend safe and prevents duplicate content from showing up in search engine results. A well-structured robots.txt can also improve crawl efficiency.
If search engines waste time crawling and indexing unnecessary files, they may miss your important pages. Make sure you don’t accidentally block content you want to rank.
Here’s a common, default example you can copy:
Wix automatically manages the robots.txt
file for you. However, if you need a custom setup, you would need to follow these steps within the Wix dashboard. Here’s an example:
Example robots.txt
for Wix
User-agent: *
Disallow: /editor/
Disallow: /users/
Disallow: /sites/
Disallow: /account/
Disallow: /login/
Disallow: /signup/
Disallow: /cart/
Disallow: /checkout/
Allow: /sitemap.xml
Sitemap: https://yourwixsite.com/sitemap.xml
Remember to replace your own website sitemap’s URL.
(make sure to rename the file to robots.txt before uploading it to your Wix website)
it’s a good practice to review your robots.txt regularly. You can easily do that visiting https://yourwebsite.com/robots.txt
Testimonials form Our Clients
Read how our clients boosted growth, improved security, and strengthened their brand with CBN Tek