Title: Feature request Update button
Last modified: April 18, 2022

---

# Feature request Update button

 *  Resolved [mbeerli](https://wordpress.org/support/users/mbeerli/)
 * (@mbeerli)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/feature-request-update-button/)
 * Hi Marios,
    how about a next level integration.
 * Why not have a button to update the robots.txt file.
    It would need a static 
   section and a badbots sections.
 * Take a look here
    [https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/robots.txt/robots.txt](https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/robots.txt/robots.txt)
   or the main page [https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker](https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker)
 * your Virtual Robots.txt file should have an update button to update the badbot
   section.
 * the static section I have entries like the following:
 *     ```
       User-agent: *
       Crawl-delay: 3
       Disallow: /lists/
       Disallow: /wprm_print/
       Disallow: /search/
       Disallow: /trackback/
       Disallow: /page/*/$
       Disallow: /wp-login.php
       Disallow: /wp-register.php
       Disallow: /it/wprm_print/
       ```
   
 * …
    then another botton to check your robots.txt file for example [https://pagedart.com/tools/robots-txt-file-checker/](https://pagedart.com/tools/robots-txt-file-checker/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Marios Alexandrou](https://wordpress.org/support/users/marios-alexandrou/)
 * (@marios-alexandrou)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/feature-request-update-button/#post-15568373)
 * Not a bad idea, but since people can easily just paste in whatever they want 
   from whatever source they choose to achieve the same thing I don’t expect this’ll
   be tackled anytime soon.
 *  Thread Starter [mbeerli](https://wordpress.org/support/users/mbeerli/)
 * (@mbeerli)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/feature-request-update-button/#post-15568472)
 * Well I think automation is key.
    Based on [https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/tree/master/robots.txt](https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/tree/master/robots.txt)
   there could be a cron job to check weekly for a new version. If automated, for
   example like the plugin updates if makes the site more secure, user friendly.
   Your plugin is for the administrators of the WP sites. See the updaterobots.sh
   file, which does a wget of the file It should only replace the badbots section
   so the other section is stable. Once the file is updated you send an email to
   the administrator. This will make your plugin separate you from the rest. I do
   the check and copy and paste now monthly. It is just a feature request. I like
   your plugin that is why I am using it. Have a good Easter.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Feature request Update button’ is closed to new replies.

 * ![](https://ps.w.org/pc-robotstxt/assets/icon-256x256.png?rev=1391109)
 * [Virtual Robots.txt](https://wordpress.org/plugins/pc-robotstxt/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pc-robotstxt/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pc-robotstxt/)
 * [Active Topics](https://wordpress.org/support/plugin/pc-robotstxt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pc-robotstxt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pc-robotstxt/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mbeerli](https://wordpress.org/support/users/mbeerli/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/feature-request-update-button/#post-15568472)
 * Status: resolved