Blocking bots and other unwanted visitors

At some point, you may want to block visitors from certain IP addresses from accessing your site. You can do this by creating a .htaccess file and inserting the following code:
order allow,deny
deny from 111.11.111.111
deny from 222.22.222.222
allow from all
Of course, replace 111.11.111.111 and 222.22.222.222 with the real IP addresses that you want to block.

Save yourself time and a few headaches by planning for url changes

I recently decided to use some of my custom scripts that were already installed on a few sites, on other sites that I own. Because I hard-coded my site’s url in each file, that meant that for each site that I also wanted to use the scripts on, I had to edit a number-a huge [...]

Categories

Links


Links


Sponsors

 

 



Recent Posts

 
Optimizing your site for Yahoo!
 
Chitika rolls out new ad program Chitika|Premium
 
Submitting your site to Yahoo!
 
Getting back into Google’s good graces
 
Yay! Google’s back to indexing sites!
 
Protect yourself from domain registration spam and scams
 
Getting a domain reconsidered for inclusion in ADSDAQ’s program
 


Third-Party RSS Feeds

 
Sony unveils new motion contoller to slow Nintendo (AP)
 
Palm Inc. teeters in crowded smart phone market (AP)
 
Global agency reconsiders `.xxx' for porn sites (AP)
 
Huge 'botnet' amputated, but criminals reconnect (AP)
 
Pink Floyd wins battle with EMI over online sales (AP)
 
OnLive game streaming service to start in June (AP)
 
Faraway Iditarod fans feed race habit online (AP)
 
GDC: Khronos group unveils OpenGL 4.0 and 3.3 (Macworld.com)