WG92
WG92

Reputation: 35

How do I block a country using .htaccess

I have a lot of traffic from Russia which I want to block. Is there any way to do this using .htaccess?

Upvotes: 2

Views: 1627

Answers (1)

amahfouz
amahfouz

Reputation: 2398

Just use one of the available public services to generate a list of the IP ranges you want to block. For instance, see this one or this one.

Upvotes: 1

Related Questions