menu search
brightness_auto
Ask or Answer anything Anonymously! No sign-up is needed!
more_vert
There are ways to block an IP address from spamming your site. You'll need to add the IP address to the restricted listing on the site. When the IP address tries to leave a comment the comment is posted in the trash automatically. I can block them from posting comments. Now I want to block them from accessing my site completely. How can you stop an IP address from opening up your site so they can't continue to add spam to the site that is thrown in the trash when it is posted. 
more_vert
If you are using any CMS like Wordpress then there will be any plugin to block IP addresses. Almost every platforms have plugins to block IPs to control spam. You can use the command ' Deny from xxx. xxx. xxx. xxx ' on htaccess file to block an ip. Replace xxx part with the Ip address to block.

If you want to block multiple ip addresses then you can use the below format in htaccess file.

Deny from xxx. xxx. xxx. xxx  yyy. yyy. yyy. yyy etc.

You can also block the entire subnet by using the command 'Deny from xxx.xxx'
more_vert
I fully understand this and I have done this. However, the only thing it seems to do is to dump the comment directly in the trash. It won't block the IP address from accessing my site completely. I am tired of cleaning up the trash and all the comments this one IP address keeps leaving on my site. All they seem to do is change their email address and come again. The comment is moved directly to the trash. Then I must block this email address so they can't comment again. I don't want them to even be able to open my website. That is what I need. 

8 Answers

more_vert

There is a lot of ways to do this but I prefer to use a security plugin that's called wordfence.


Not only you can block an IP Address but you can even block a whole country, just a computers address, a mobile address, a tablet address etc.


So many options using wordfence.


Hope this answers your question.


Best Regards,


Nesim

thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
One way to block an IP address from accessing your website is to edit your .htaccess file. This contains the list of IP addresses that are allowed or denied access to your website. You can add the IP address that you want to block to this list and it will prevent them from accessing your website. You can also use a web application firewall to detect and block malicious traffic from the IP address. Additionally, you can use a service such as Cloudflare to filter out traffic from the IP address before it even reaches your website.
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
To block an IP address from accessing your website:

Edit the .htaccess file in the root directory of your website

Add the following code: "deny from [IP address]" (replace [IP address] with the actual IP address you want to block)

Save the changes to the file and upload it to the server

Test the blocking by attempting to access the website from the blocked IP address.

Note: This method may not work for all web hosting providers, and may require additional configuration or the use of a firewall or other security software.
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
There are two ways to stop an IP address from opening up your site. The first is to add the IP address to the restricted listing on the site and post a message to this effect. The second is to not allow the IP address to access your site at all.
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
To block an IP address from accessing your site, go to Site Tools > Security > Block Traffic. Choose the domain for which you want to block access. Add the IP address or a whole range in IP/IP Range and click Block. You can also use (*) as a wildcard character if needed,
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
To block an IP address from accessing your website, you can take the following steps:

1. Configure your web server or firewall settings.

2. Identify the IP address you want to block.

3. Add an entry to the server or firewall configuration to deny access from that IP address.

4. Test the block to ensure it is effective.

5. Monitor and update the block list as needed.
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
deeper understanding of your for other Twitter accounts is Twitter Audit. It can provide you with an accurate count of all the followers and following of a tWitter account, as well as detailed analytics related to them and the quality of those accounts.
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
There is no particular way to block your IP address but you can hide your IP address buy some important ways like you can use the VPN which would expressly show the another person and another IP address which is not your IP address which might be from some other country as you choose on the VPN services and that is how the IP address can be changed in the only way
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
Welcome to Answeree, where you can ask questions and receive answers from other members of the community.
...