Web Development Network  |  Sites:    Capital Tutorials    Internet Marketing Books    Arcade Games
Depiction- Webmaster Resources
Stock Image

Contributors: SSD VPS in Europe  |  SEO Las Vegas |  EsqRank |  Free SEO Report

Dental SEO Marketing  |  Best Las Vegas SEO Company  |  Currency Converter Live

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.



All Graphic Design Photoshop Tutorials
Tutorial Man Wallpaper Stock  More