Depiction- Webmaster Resources
Stock Image

Contributors: Advertise Here  |  Advertise Here  |  Advertise Here

Misc Links: Submit Tutorials (Earn $$) l Advertising l Privacy Policy | Site Map

Tutorials > .htaccess > IP Banning


Ban a visitor from visiting your site by banning their IP address.

1. Make a new text file and name it .htaccess or open one you already have.

2. Find out the person's IP address and substitute it for

To deny access..
deny from

To allow access..
allow from

To ban everyone..
deny from all

To add more press enter and copy the code and change the IP.

Then upload it to your root directory or the specific directory you want to use these settings for.

NOTE: Uploading to the root directory will override .htaccess files in specific folders.



Adobe Tutorialz Photoshop Tutorials
Tutorial Man Wallpaper Stock  More