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.

Een kort overzicht:


Better Robots.txt plugins zijn beschikbaar en vertaald in de volgende talen: Chinees – 汉语/漢語, Engels, Frans – Français, Russisch – Руссɤɢɣ, Portugees – Português, Spaans – Español, Duits – 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.
  • Het robots.txt-bestand bepaalt hoe spiders van zoekmachines je webpagina’s zien en ermee omgaan;
  • This file and the bots it communicates with, are integral components of how search engines operate;
  • Het eerste waar een crawler van een zoekmachine naar kijkt als hij een pagina bezoekt, is het robots.txt bestand;

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

Over de Pro versie (extra functies):

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).

Als je je eigen sitemap wil toevoegen (of als je een andere SEO plugin gebruikt), dan hoeft je alleen maar je Sitemap URL te kopiëren en te plakken, en Better Robots.txt zal deze toevoegen aan je WordPress robots.txt.

2. Bescherm je gegevens en inhoud

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.

De Better Robots.txt plugin beschermt je site tegen spiders/scrapers die door Distil Networks als slechte bots worden bestempeld.

3. Conceal & safeguard your backlinks

Prevent competitors from discovering your profitable backlinks.

Backlinks, ook wel bekend als “inbound links” of “incoming links”, worden gecreëerd wanneer een site naar een andere site linkt. De link naar een externe site wordt een backlink genoemd. Backlinks zijn vooral waardevol voor SEO, omdat ze een “stem van vertrouwen” van de ene site naar de andere aangeven. In feite geven backlinks naar je site aan zoekmachines aan dat anderen je inhoud ondersteunen.

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. Vermijd 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 gereedschap

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 dachten dat we een unieke touch konden toevoegen aan Better Robots.txt door een functie te introduceren waarmee je je WordPress robots.txt kunt “aanpassen” met je eigen kenmerkende “handtekening”. Veel grote bedrijven over de hele wereld hebben hun robots.txt gepersonaliseerd door spreekwoorden toe te voegen (https://www.yelp.com/robots.txt), slogans (https://www.youtube.com/robots.txt) of zelfs tekeningen (https://store.nike.com/robots.txt – onderaan). Waarom zou je niet hetzelfde doen? Daarom hebben we een specifiek gebied op de instellingenpagina gewijd waar je alles kunt schrijven of tekenen wat je maar wilt (echt) zonder de efficiëntie van je robots.txt te beïnvloeden.

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

De snelst groeiende bedrijven van vandaag, waaronder Amazon, Airbnb en Facebook, hebben allemaal een explosieve groei bereikt door hun teams te richten op een proces van snelle tests en leren. Dit wordt Growth Hacking genoemd. Growth hacking is een proces waarbij snel wordt geëxperimenteerd met en geïmplementeerd wordt van marketing- en promotiestrategieën die uitsluitend gericht zijn op efficiënte en snelle bedrijfsgroei. Better Robots.txt biedt een lijst van meer dan 150+ online beschikbare tools om je groei te stimuleren.

11. Robots.txt Post Meta Box voor handmatige uitsluitingen

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…


  • Better Robots.txt Settings Page
  • Better Robots.txt Settings Page
  • Better Robots.txt Settings Page
  • Better Robots.txt Settings Page
  • Robots.txt file output


21 september 2023 1 reactie
Probabil varianta premium e buna dar asta free este jale de ea
29 maart 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.
Lees alle 102 beoordelingen

Bijdragers & ontwikkelaars

“WordPress Robots.txt optimizer (+ XML Sitemap) – Boost SEO, Traffic & Rankings” is open source software. De volgende personen hebben bijgedragen aan deze plugin.


“WordPress Robots.txt optimizer (+ XML Sitemap) – Boost SEO, Traffic & Rankings” is vertaald in 3 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “WordPress Robots.txt optimizer (+ XML Sitemap) – Boost SEO, Traffic & Rankings” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.



  • Initial release.


  • fixed plugin directory url issue
  • some text improvements


  • fixed some minor issues with styling
  • improved text and translation


  • added some major improvements
  • allow/off option changed with allow/disallow/off
  • improved overall text and french translation


  • fixed a bug and improved code


  • added new feature “Spam Backlink Blocker”


  • fixed a bug


  • added new “personalize your robots.txt” feature to add custom signature
  • added recommended seo tools to improve search engine optimization


  • added feature to detect physical robots.txt file and delete it if server permissions allows


  • added russian and chinese (simplified) languages
  • fixed bug causing redirection to better robots.txt settings page upon activating other plugins


  • added new feature: Top plugins for SEO performance
  • 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)
  • added spanish and portuguese languages


  • added new feature: xml sitemap detection
  • fixed translations


  • added new feature: loading performance for woocommerce

  • fixed a bug in disallow rules for woocommerce

  • boost your site with alt tags

  • fixed readability issues

  • fixed default robots.txt file issue upon plugin activation for first time
  • fixed php error upon saving settings and permalinks
  • refactored code

  • added clean-param for yandex bot
  • ask backlinks feature for pro users
  • avoid crawler traps feature for pro users
  • improved default robots.txt rules

  • added 150+ growth hacking tools
  • fixed layout bug
  • updated default rules


  • 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.
  • Added version timestamp for wp_register_script ‘assets/rt-script.js’


  • Fixed some bugs creating error in google search console
  • Text improvement


  • Added “Hide your robots.txt from SERPs” feature
  • Text improvements


  • Fixed a bug
  • Text improvements


  • Fixed crawl-delay issue
  • Updated translations

  • Fixed a minor issue


  • Security patched in freemius sdk

  • Fixed Multisite Issue for pro users

  • Fixed Yoast sitemap issue for Multisite users

  • Fixed some text


  • Added Baidu/Sogou/Soso/Youdao – Chinese search engines features for pro users
  • Added social media crawl feature for pro users


  • Notification will be disabled for 4 months. Fixed some other minor stuff

  • Updated Freemius SDK v2.3.0
  • BIGTA recommendation

  • Fixed Undefined index error while saving MENUS for some sites
  • Removed “noindex” rule for individual posts as Google will stop supprting it from Sep 01 2019


  • Added 5 new rules to default config. Removed 4 old default rules which were cuasing some issues with WPML
  • Added a search rule to Avoid crawling traps
  • Added several new rules to Spam Backlink Blocker
  • Fixed security issues

  • VidSEO recommendation

  • Fixed some security issues
  • Added new rules to Backlink Protector (Pro only)
  • Multisite notification will be disabled permenantly once dismissed

  • Fixed php notice (in php log) for $host_url variable

  • Fixed php notice (in php log) for $active_tab variable
  • Fixed some typos

  • Added option to Be part of our worldwide Movement against CoronaVirus (Covid-19)
  • Fixed several php undefined index notices (in php log) related to Step 7 and 8 options

  • 👌 IMPROVE: Updated freemius to latest version 2.3.2
  • 🐛 FIX: Some minor issues

  • 🔥 NEW: WP Google Street View promotion
  • 🐛 FIX: Some minor text issues

  • 👌 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
  • 👌 IMPROVE: New clean design
  • 👌 IMPROVE: Many small improvements

  • 🐛 FIX: Added trailing backslash for using trait


  • 🔥 NEW: Search engine visibility feature (Pro version)
  • 🔥 NEW: Image Crawlability feature (Pro version)

  • 🐛 FIX: Sitemap issue


  • 🐛 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