mgargano/non-production-robots-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.

0.3.2 2020-01-22 19:38 UTC

This package is auto-updated.

Last update: 2024-11-23 06:09:04 UTC


README

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