Last active
August 29, 2015 14:21
-
-
Save miziomon/b180b03e6e9a94430b42 to your computer and use it in GitHub Desktop.
blackhole implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ifModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^(phpinfo|wp-signup|phpmyadmin|database|usage|cgi|signup|admin|register|timthumb|function|system|test|t|jsp|asp|aspx)$ blackhole/ [L] | |
</ifModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Blackhole implementation | |
*/ | |
if (!is_admin()) { | |
include( WP_CONTENT_DIR . "/blackhole/blackhole.php" ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment