This documentation is only valid for older versions of Wordfence. If you are using Wordfence 7 or later, please visit our new documentation.

Block semalt.com

From Wordfence Documentation
Jump to: navigation, search

Important: Only modify your .htaccess file if you know what this file is for and how to change it if you lock yourself out.

Add the following lines of code to your .htaccess file to block semalt.com from your site.

# block visitors referred from semalt.com
RewriteEngine on
RewriteCond %{HTTP_REFERER} semalt\.com [NC]
RewriteRule .* - [F]


Thank you Kenneth Yau for providing this code.