Viewing 1 replies (of 1 total)
  • After reviewing the code myself to add something like this, I found there is a constant you can define in your wp-config.php that will do this for you, simply put this at the bottom of the file:

    define('SNITCH_IGNORE_INTERNAL_REQUESTS', true);

    That will filter out any requests to your actual site, like WP CRON, etc. If you want to use specific URLs, just check out the _is_internal method at the bottom of the snitch/inc/snitch_http.class.php file, and add your own URLs

    Make sure you set that constant above otherwise that method will never get called

Viewing 1 replies (of 1 total)
  • The topic ‘Ability to filter based on doman name’ is closed to new replies.