Question: htaccess how to block ip?
Answer: Open your . htaccess file in the public_html directory using the Edit feature.
Generate a list of IP addresses from the targeted country on Country IP Blocks site.
Copy the code from the generated list to the . htaccess file.