Block IP in Htaccess?

Can I Block IP in Htaccess? Vit CloudFlare changes the ip address? If I know the user’s IP address, can I add it to the blacklist in htaccess?

You can block visitor IP address only if your web server is configured to Restore Visitor IP addresses:

Excuse me in CloudFlare? or do I need on my hosting?

Where should I do this? I do not have access to hosting only Htaccess

It’s hard for me to understand all this, because I work through a translator. I’m from Russia Will this help me? And where to get this mod?

I have a website on html if I place this code in the head of each page can I block a visitor in htaccess?

It is easier to block visitor IP addresses using Firewall Rules:


This topic was automatically closed after 30 days. New replies are no longer allowed.