I have a little free web directory (PHPLinkDirectory 2.1) that I run as one of my side project sites. About a month ago, it started getting abused daily by some jerk in Russia who would submit the same site multiple times. I did some research and found out I could block him by entering his IP address in the .htaccess file like this:
order allow,deny
deny from 00.000.00.00 (his IP which I censored)
allow from all
This seemed to get rid of him, but one side effect (I think) is my Adsense ads suddenly quit displaying on the main page and my default ads from Amazon started displaying instead (although the Adsense ads work as usual on the page where you actually submit your URL to the directory).
My question is, is there anything I can do to this .htaccess file (or any other file for that matter) that will ensure Adsense ads will display on that page as desired?