Lately my some of my WordPress-powered sites have been hit with a very specific brand of comment spam, which may be referred to as “darknet market spam”. It’s better to block using WordPress settings (previous) or block using keywords at the server level (next). For example, here are the rules to block darknet boy at the server level:# block darknet market spam # https://perishablepress.com/block-darknet-market-spam/ <IfModule mod_rewrite.c> RewriteCond %{REQUEST_METHOD} POST [NC] RewriteCond %{REQUEST_URI} (dark(\s)net|dark(\s)web|dark(\s)market|darkmarket|darknet|drug(\s)store) [NC] RewriteRule (. Block darknet keywords via PHPThis method works great to block darknet spam before it reaches WordPress comments/trash. // block darknet market spam // https://perishablepress.com/block-darknet-market-spam/ function shapeSpace_block_darknet_spam() { if (isset($_SERVER['REQUEST_METHOD'])) { $method = $_SERVER['REQUEST_METHOD']; if (strtoupper($method) === 'POST') { if (isset($_POST)) { $comment = isset($_POST['comment']) ?