Block country or ip with htaccess

Oleh: traveller
July 18, 2008

Before you start backup your htaccess file and be careful – dont block your ISP IP address or your own Ip.

Blocking ip addresses with htaccess :

For blocking entire country visit or

for automated generated htaccess, then open htaccess with NotepadPlus or similar editor select all, copy and paste in your htaccess and upload to server.

Change or add IP addresses to match your choice .

Related posts

Tags: , , , , , , , , ,

Category: Uncategorized | RSS 2.0 Both comments and pings are currently closed.

No Comments

Comments are closed.

  • Widget Area

    This is widget area, add your widget here from your widget on appereance on your admin panel