Plugin Directory

WordPress Robots.txt optimizer (+ XML Sitemap) – Boost SEO, Traffic & Rankings

WordPress Robots.txt optimizer (+ XML Sitemap) – Boost SEO, Traffic & Rankings


Better Robots.txt generates a virtual robots.txt for WordPress, enhancing your website’s SEO (indexation capabilities, Google ranking, etc.) and its loading performance. Our plugin is compatible with Yoast SEO, Rank Math, Google Merchant, WooCommerce, and directory-based network sites (MULTISITE) and features now (2023) exclusive Artificial Intelligence (OpenAI) optimization settings for greater performance.

With Better Robots.txt, you can specify which search engines are permitted to crawl your website and provide clear directives about their allowed activities. You can also set a crawl-delay to shield your hosting server from aggressive scrapers. Better Robots.txt empowers you with complete control over your WordPress robots.txt content through the custom setting box.

Minimize your site’s ecological footprint and the production of greenhouse gas (CO2) associated with its online presence.

According to ChatGPT (OpenAI), the robots.txt produced by the PRO version of Better-Robots.txt is the most sophisticated and comprehensive available on the WEB for a WordPress site.

Descripción general:


Better Robots.txt plugins are available and translated into the following languages: Chinese –汉语/漢語, English, French – Français, Russian –Руссɤɢɣ, Portuguese – Português, Spanish – Español, German – Deutsch.

Did you know that…

  • The robots.txt file is a straightforward text file positioned on your web server that instructs web crawlers (like Googlebot) on whether they should access a file or not.
  • The robots.txt file governs how search engine spiders perceive and engage with your web pages;
  • This file and the bots it communicates with, are integral components of how search engines operate;
  • The initial thing a search engine crawler examines when it visits a page is the robots.txt file;

The robots.txt is a reservoir of SEO potential that’s ready to be tapped into. Give Better Robots.txt a try!

Acerca de la versión Pro (características adicionales):

1. Enhance your content visibility on search engines with your sitemap!

Ensure your pages, articles, and products, even the most recent ones, are recognized by search engines!

The Better Robots.txt plugin is designed to integrate with the Yoast SEO plugin and Rank Math (arguably the best SEO Plugin for WordPress websites). It will automatically detect if you are using Yoast SEO / Rank Math and if the sitemap feature is enabled. If so, it will automatically add instructions to the Robots.txt file directing bots/crawlers to review your sitemap for recent changes on your website (allowing search engines to crawl any new content).

If you wish to add your own sitemap (or if you are using a different SEO plugin), you simply need to copy and paste your Sitemap URL, and Better Robots.txt will incorporate it into your WordPress Robots.txt.

2. Safeguard your data and content

Prevent harmful bots from scraping your website and exploiting your data.

The Better Robots.txt plugin assists in blocking most common malicious bots from crawling and scraping your data.

There are both beneficial and harmful bots that crawl your site. Beneficial bots, like Google bot, crawl your site to index it for search engines. However, others crawl your site for more malicious reasons such as repurposing your content (text, price, etc.) for republishing, downloading entire archives of your site, or extracting your images. Some bots have even been reported to crash entire websites due to excessive bandwidth usage.

The Better Robots.txt plugin shields your website against spiders/scrapers identified as harmful bots by Distil Networks.

3. Conceal & safeguard your backlinks

Prevent competitors from discovering your profitable backlinks.

Backlinks, also known as “inbound links” or “incoming links,” are created when one website links to another. The link to an external website is called a backlink. Backlinks are particularly valuable for SEO as they signify a “vote of confidence” from one site to another. Essentially, backlinks to your website signal to search engines that others endorse your content.

If numerous sites link to the same webpage or website, search engines can deduce that the content is link-worthy, and therefore worth displaying on a SERP. Thus, earning these backlinks can positively impact a site’s ranking position or search visibility. In the SEM industry, it’s common for specialists to identify the sources of these backlinks (competitors) to select the best ones and generate high-quality backlinks for their own clients.

Given that creating highly profitable backlinks for a company is time-consuming (time + energy + budget), allowing your competitors to identify and replicate them so easily is a significant loss of efficiency.

Better Robots.txt aids in blocking all SEO crawlers (aHref, Majestic, Semrush) to keep your backlinks hidden.

4. Prevent Spam Backlinks

Bots that populate your website’s comment forms with messages like ‘great article,’ ‘love the info,’ ‘hope you can elaborate more on the topic soon’ or even personalized comments, including the author’s name, are widespread. Spambots are becoming increasingly sophisticated over time, and unfortunately, comment spam links can seriously damage your backlink profile.

Better Robots.txt assists in preventing these comments from being indexed by search engines.

5. Artificial Intelligence at the service of Robots.txt

In 2023, we added a robots.txt optimization feature based on OpenAI’s (ChatGPT) recommendations for any WordPress site. These settings maximize the efficiency of robots.txt for search engines to streamline the crawling of a website. More improvements are on the way…

In 2023, ChatGPT 4, after auditing several million robots.txt files available on the WEB, assessed that the robots.txt deployed by the PRO version of the Better-Robots.txt plugin was the most advanced, comprehensive, and sophisticated configuration currently available for WordPress environments. A point of pride for our team!

6. SEO Tools

In the process of enhancing our plugin, we’ve incorporated shortcut links to two crucial tools for those concerned about their search engine rankings: Google Search Console & Bing Webmaster Tool. If you’re not already utilizing them, you can now manage your website’s indexing while optimizing your robots.txt! We’ve also provided direct access to a Mass Ping tool, enabling you to ping your links on over 70 search engines.

Additionally, we’ve created four shortcut links to some of the best Online SEO Tools, directly accessible through Better Robots.txt SEO PRO. This means you can now check your site’s loading performance, analyze your SEO score, identify your current SERP rankings with keywords & traffic, and even scan your entire website for dead links (404, 503 errors, etc.) directly from the plugin.

7. Stand Out

We thought we could add a unique touch to Better Robots.txt by introducing a feature that lets you “customize” your WordPress robots.txt with your own distinctive “signature.” Many major companies worldwide have personalized their robots.txt by adding proverbs (https://www.yelp.com/robots.txt), slogans (https://www.youtube.com/robots.txt), or even drawings (https://store.nike.com/robots.txt – at the bottom). Why not do the same? That’s why we’ve dedicated a specific area on the settings page where you can write or draw anything you want (really) without affecting your robots.txt efficiency.

8. Prevent Crawling of Redundant WooCommerce Links

We’ve introduced a unique feature that blocks specific links (“add-to-cart”, “orderby”, “filter”, cart, account, checkout, etc.) from being crawled by search engines. Most of these links demand a significant amount of CPU, memory & bandwidth usage (on the hosting server) as they are not cacheable and/or create “infinite” crawling loops (while they are unnecessary).

By optimizing your WordPress robots.txt for WooCommerce when running an online store, you can allocate more processing power to the pages that truly matter and enhance your loading performance.

9. Dodge Crawler Traps

“Crawler traps” are structural issues within a website that lead crawlers to discover a virtually infinite number of irrelevant URLs. In theory, crawlers could get stuck in one part of a website and never finish crawling these irrelevant URLs.

Better Robots.txt aids in preventing crawler traps, which can harm crawl budget and result in duplicate content.

10. Growth Hacking Tools

Today’s fastest-growing companies, including Amazon, Airbnb, and Facebook, have all achieved breakout growth by aligning their teams around a high-velocity testing/learning process. This is referred to as Growth Hacking. Growth hacking is a process of rapidly experimenting with and implementing marketing and promotional strategies that are solely focused on efficient and rapid business growth. Better Robots.txt provides a list of over 150+ tools available online to propel your growth.

11. Robots.txt Post Meta Box for Manual Exclusions

This Post Meta Box allows you to manually set if a page should be visible (or not) on search engines by injecting a dedicated “disallow” + “noindex” rule inside your WordPress robots.txt. Why is this beneficial for your ranking on search engines? Simply because some pages are not meant to be crawled/indexed.

Thank you pages, landing pages, pages containing exclusively forms are useful for visitors but not for crawlers, and you don’t need them to be visible on search engines. Also, some pages containing dynamic calendars (for online booking) should NEVER be accessible to crawlers because they tend to trap them into infinite crawling loops which directly impacts your crawl budget (and your ranking).

12. Ads.txt & App-ads.txt Crawlability

To ensure that ads.txt & app-ads.txt can be crawled by search engines, the Better Robots.txt plugin ensures they are by default allowed in the Robots.txt file regardless of your configuration. For your information, Authorized Digital Sellers for Web, or ads.txt, is an IAB initiative to improve transparency in programmatic advertising.

You can create your own ads.txt files to identify who is authorized to sell your inventory. The files are publicly available and crawlable by exchanges, Supply-Side Platforms (SSP), and other buyers and third-party vendors. Authorized Sellers for Apps, or app-ads.txt, is an extension to the Authorized Digital Sellers standard. It expands compatibility to support ads shown in mobile apps.

More enhancements are always on the way…


  • Mejor página de ajustes Robots.txt
  • Mejor página de ajustes Robots.txt
  • Mejor página de ajustes Robots.txt
  • Mejor página de ajustes Robots.txt
  • Output de archivo robots.txt


21 de septiembre de 2023 1 respuesta
Probabil varianta premium e buna dar asta free este jale de ea
29 de marzo de 2023
My site has gone to the top of some search engines Excellent plug in, my site has increased to near the top in most of the search engines.
Leer todas las 102 reseñas

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.


“WordPress Robots.txt optimizer (+ XML Sitemap) – Boost SEO, Traffic & Rankings” ha sido traducido a 3 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce “WordPress Robots.txt optimizer (+ XML Sitemap) – Boost SEO, Traffic & Rankings” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • Versión inicial.


  • Se corrigió el problema con la url en el directorio del plugin.
  • Algunas mejoras en el texto


  • Se corrigieron algunos problemas menores con el estilo
  • Se mejoró el texto y la traducción.


  • Se agregaron algunas mejoras mayores
  • La opción permitir/apagar se cambió por permitir/no permitir/apagar.
  • Se mejoró el texto en general y la traducción al francés.


  • Se corrigió un error y se mejoró el código.


  • Se agregó la nueva funcionalidad “Bloqueador de spam en enlaces”


  • Se corrigió un error.


  • Se agrega nueva funcionalidad “personaliza tu robots.txt” para agregar una firma personalizada
  • Se agregaron herramientas de seo recomendadas para mejorar la optimización en motores de búsqueda


  • Se añadió funcionalidad para detectar archivos robots.txt físicos y borrarlos si los permisos del servidor lo permiten.


  • Se agregaron los idiomas ruso y chino (simplificado)
  • fixed bug causing redirection to better robots.txt settings page upon activating other plugins


  • Se añade nueva funcionalidad: mejores plugins para tu desempeño SEO.
  • fixed plugin notices issue to dismiss for define period of time after being closed
  • fixed stylesheet issue to get proper updated file after plugin update (cache buster)
  • Se agregaron los idiomas español y portugués.


  • Se agregó nueva funcionalidad: Detección del mapa del sitio XML.
  • Se arreglaron las traducciones.


  • Se agregó nueva funcionalidad: cargando desempeño para woocommerce

  • Se corrigió un error en la sección de anulación de reglas de WooCommerce.

  • Mejora tu sitio con etiquetas alt

  • Se corrigieron errores de lectura

  • Se corrigió problema con el archivo predeterminado robots.txt que se daba al activar el plugin por primera vez.
  • Se corrigió error de PHP al guardar los ajustes y enlaces permanentes.
  • Código refactorizado

  • Se agregó clean-param para el bot de Yandex.
  • Se agregó la funcionalidad de solicitud de enlaces de retorno para usuarios pro.
  • avoid crawler traps feature for pro users
  • Se mejoraron las reglas predeterminadas de robots.txt

  • added 150+ growth hacking tools
  • Se corrigió error de layout
  • Se actualizaron las reglas predeterminadas


  • Added Post Meta Box to Disable Indivdual post, pages and products (woocommerce pro only). It will add Disallow and Noindex rule in robots.txt for any page you choose to disallow from post meta box options.


  • Added multisite feature for directory based network sites (pro only). it can duplicate all default rules, yoast sitemap, woocommerce rules, bad bots, pinterest bot blocker, backlinks blocker etc with a single click for all directory based network sites.
  • Se agregó una marca temporal en la versión para wp_register_script ‘assets/rt-script.js’


  • Se corrigieron algunos puntos que creaban errores en la consola de búsqueda de Google.
  • Mejora en el texto


  • Se añadió funcionalidad para “Ocultar tu robots.txt de la página de resultados de búsqueda”
  • Mejoras en el texto


  • Se corrigió un error
  • Mejoras en el texto


  • Se corrigió error con el retraso en el rastreo.
  • Se actualizaron las traducciones.

  • Se corrigió un error menor


  • Parches de seguridad en freemius sdk

  • Se corrigió error de multisitio para usuarios pro.

  • Se arregló el problema con el mapa de sitio de Yoast para usuario multisitio

  • Se corrigió parte del texto


  • Se incluyeron funcionalidades de Baidu/Sogou/Soso/Youdao – Los buscadores chinos, para usuarios pro
  • Se agregó el rastreo de redes sociales para usuarios pro


  • Las notificaciones serán deshabilitadas por cuatro meses. Se corrigieron algunos asuntos menores

  • Se actualizaron Freemius SDK v2.3.0
  • Recomendación de BIGTA

  • Se corrigió un error de índice no deninido al guardar los menús de algunos sitios.
  • Se eliminó la relga “noindex” de entradas individuales ya que Google dejará de soportarla a partir del 1 de septiembre de 2019.


  • Se agregaron 5 reglas a la configuración predeterminada y se removieron 4 reglas predeterminadas que estaban causando problemas con WPML.
  • Se agregó una nueva regla de búsqueda para evitar trampas en el rastreo
  • Se añadieron varias nuevas reglas al bloqueador de spam en los enlaces.
  • Se repararon problemas de seguridad

  • Recomendación de VidSEO

  • Se repararon algunos problemas de seguridad
  • Se agregaron nuevas reglas al protector de vínculos de retroceso (sólo en la versión Pro).
  • La notificación multisitio quedará deshabilitada permanentemente una vez que sea rechazada

  • Se corrigió la notificación de PHP (en el registro de PHP) para la variable $host_url

  • Se corrigió la notificación de PHP (en el registro de PHP) para la variable $active_tab
  • Se corrigieron algunos dedazos

  • Se agregó la opción para ser parte de nuestro movimiento mundial contra el CoronaVirus (Covid-19)
  • Se corrigieron varias notificaciones no definidas en el índice (en la bitácora de php) relacionadas con las opciones de los pasos 7 y 8.

  • 👌 IMPROVE: Updated freemius to latest version 2.3.2
  • 🐛 CORRECCIÓN: algunos problemas menores

  • 🔥 NUEVO: Promoción en WP Google Street View
  • 🐛 CORRECCIÓN: algunos problemas menores de texto

  • 👌 IMPROVE: Admin Notices are set to permenantly dismissed based on user.
  • 👌 IMPROVE: Top level menu for Better Robots.txt Settings
  • 🐛 FIX: Styling conflict with Norebro Theme.
  • 🐛 FIX: Undefined variables php errors for some options

  • 🐛 FIXED: XSS vulnerability.
  • 🐛 FIX: Non-static method errors
  • 👌 IMPROVE: Tested up to WordPress v5.5

  • 🐛 FIXED: Call to undefined method error.

  • 👌 IMPROVE: Update Freemius to v2.4.1

  • 👌 IMPROVE: Tested up to WordPress v5.6
  • 🐛 FIX: Get Pro URL

  • 👌 IMPROVE: Added some more rules for Woocommerce performance
  • 👌 IMPROVE: Update Freemius to v2.4.2

  • 🔥 NEW: Meta Tags for SEO promotion


  • 👌 IMPROVE: Refactored code to MVC
  • 👌 MEJORA: Nuevo diseño limpio
  • 👌 MEJORA: Muchas mejoras pequeñas

  • 🐛 FIX: Added trailing backslash for using trait


  • 🔥 NUEVO: funcionalidad de visibilidad en motores de búsqueda (versión PRO)
  • 🔥 NEW: Image Crawlability feature (Pro version)

  • 🐛 CORRECCIÓN: problema con el mapa del sitio


  • 🐛 FIX: Bugs and improvements
  • 🔥 NEW: Option to add default WordPress Sitemap (Pro Version)
  • 🔥 NEW: Option to add All in One SEO Sitemap (Pro Version)


  • 🐛 FIX: Text issues


  • 🐛 FIX: Security fix


  • 🐛 FIX: PHP warning undefined index


  • 🐛 FIX: SECURITY PATCH. Verify nonce for CSRF attack.
  • 🐛 FIX: PHP 8.2 warning undefined index


  • 🐛 FIX: Removed Be part of movement against CoronaVirus (Covid-19) option


  • 🐛 FIX: Moved Moz bots from Bad bots list to Backlink Protector list.
  • 🔥 NEW: You can select and exclude bots in Backlink Protector list (Pro Version)
  • 🔥 NEW: Bad Bots – “AI recommended setting” by ChatGPT-4 (Pro Version)
  • 🐛 FIX: Security fix


  • 🔥 NEW: ChatGPT Bot Blocker – Block ChatGPT Bot from scrapping your content (Pro Version)
  • 👌 IMPROVE: Encapsulation of Radio Switch Buttons and code refactoring.


  • 🐛 FIX: Class initialization


  • 🔥 NEW: UI/UX with better experience
  • 🔥 NEW: ChatGPT Bot Blocker – Block ChatGPT Bot supported in free version
  • 🔥 NEW: Ads.txt and App-ads.txt support for free version
  • 🐛 FIX: Personalization line break issue
  • 🐛 FIX: Other fixed and improvements