Block traffic from hitleap site

hitleaps site heating my site very badly with fake traffic. kindly help me to block this site. please help

You can block traffic from a particular site or sites in your .htaccess file. This tutorial explains it quite clearly: http://www.javascriptkit.com/howto/htaccess14.shtml

1 Like

i will try it now

Hello @TechnoBear I also got this

but my problem is that I am getting contradicting info on where to place the new htaccess files.
for example i already have this at rootlevel outised of the wp-content folder


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wacker02/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wham/index.php [L]
</IfModule>

# END WordPress

try to add to it, right below it and knocke off the site.
Was then told to add the new .htacess to any of the folder i wanted to block…so a bit confused.
D

My understanding is that adding it to the root level .htaccess file will apply it to the whole site, so that’s where I’d put it.

As Ralph said, I’d put it into the .htaccess file in your root directory, to prevent access to your entire site.

When you say

[quote=“pdxSherpa, post:4, topic:101823”]
try to add to it, right below it and knocke off the site.
[/quote]what exactly happened?

The last two lines of the tutorial say:

Now, you may have noticed the line “Options +FollowSymlinks” above, which is commented. Uncomment this line if your server isn’t configured with FollowSymLinks in its section in httpd.conf, and you get a 500 Internal Server error when using the code above as is.

Is that any help?

I think the problem(s) has/have to do with it being WordPress.
i.e. it’s not a typical htaccess file.

You should be able to modify it through the ACP though.

Ah, sorry - I don’t use WordPress and I didn’t realise that.

thx all will go back to reading up on this thing.