Skip to content

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

Notifications You must be signed in to change notification settings

matgargano/non-production-robots-ignore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Non Production Robots Ignore

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages