WP Manifestindependent plugin directory
manifest / seo / non-production-robots-ignore

Force Robots Production Ignore

Non Production Robots Ignore is a simple WordPress plugin that is used with vlucas/phpdotenv (or similar) that sets environment variables to set robots.txt to ignore all on all environments except production.

★ 2stars
2.4kcomposer installs

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/matgargano/non-production-robots-ignore/archive/refs/heads/master.zip

On Packagist as mgargano/non-production-robots-ignore:

composer require mgargano/non-production-robots-ignore
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Non Production Robots Ignore is a simple package (named in a utilitarian vein) for WordPress that is used with vlucas/phpdotenv (or similar) that sets environment variables.

To use this:

  • Use Composer to manage your dependencies for your WordPress project
  • Have type:wordpress-plugins installed in your plugins directory
  • Set a WP_ENV environment variable and set it to anything but production on non-production environments. If production is set, this plugin will be ignored as desired.
  • Activate the plugin
  • ???
  • profit