Create a gist now

Instantly share code, notes, and snippets.

@miziomon /.htacess
Last active Aug 29, 2015

What would you like to do?
blackhole implementation
<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>
<?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