At some point you may have the need to block one or more persons from reading your blog but the problem isn't severe enough to warrant making your blog private. This is particularly desirable if you end up with a persistent comment spammer. Blogger does not make this easy because there is no access to the .htaccess file and to date despite requests Blogger has not made an IP blocker available. The block can be in javascript (JS) or PHP format. You can add a JS gadget in your element layout that will effectively block one or more IP addresses. The problem with using JS is a user can simply diable JS to circumvent the script so they can still get through to your blog. I found the PHP code at Perishable Press (How to Block IP Addresses with PHP) and JS IP block code through Javascript Kit. The nice thing about the PHP code is it will work even if JS is turned off. You can modify the code in either to send the unwanted visitor to any site of your choice.
Quite frankly it really doesn't matter where you send them but the generic send to Google won't give them any idea of what you did if you use the PHP code. If you use the JS code you can give them a flip off message that they have been banned from your site.. If the unwanted visitor tries to access through an IP anonymizer then simply add the IP of the anonymizer as well. Now if a comment spammer is really persistent they can still get around this by using a computer at a different IP. In this case resort to tracking in your stats to identify the IP then add that IP to the block as well. Essentially what you are doing is setting up call block but instead of for your phone you are doing it to your blog. Once the comment spammer realizes s/h/it can't get through they will move onto greener pastures. You can leave the IP block on and modify as needed. Chances are good that you may only need to take this step once because persistent comment spammers are thankfully few and far between. I think it is a handy bit of coding to save just in case it is needed.
Garden Gnome
©2009-2010
Popular Posts
-
Mendacity (USA) - Atrocity Reflected (demo 1994) DEATH METAL Demo 1994 Self released 1. Blasphemer 04:20 ...
-
Taxidermist (USA) - Chambers Of Desecration (demo 1993) DEATH METAL Demo 1993 Label: Maggot Vomit 1. Sodomize The Dead 2. Funeral Proce...
-
This month I'm focusing on analyzing what Twitter is doing for my blogs. All of my blog feeds go through TwitFeed automatically each ti...
-
I joined the Amazon Affiliate program a little over a year ago as part of monetizing my blogs. This program works a bit differently in that...
-
One of the most often recommended ways to boost blog traffic is to participate in forums. Most forums will allow you to use your avatar and...
-
Erzebet (Colombia) - Por Siempre Necrolust (demo 1997) BLACK METAL Demo, self produced October 1997 THANX TO MALLEVS MALEFICARVM FOR SHARE !...
-
My gosh how time flies! It does not seem possible that I've been with Adgitize for over two years but it's true. I joined Adgitiz...
-
Violent Hate (Brazil) - Preaching (demo 1995) DEATH METAL Full lenght 1995 Label: Dynamo Brazilie 1. Spiritual Gods 04:33 2. Rotten Wo...
-
Saints Everlasting Rest (Russia) - All These Tears For You (demo 1998) DOOM/DEATH METAL Demo, self-released August 1998 1. Intro 02:19 2. Ti...
-
Angkor Vat (Uruguay) - Vat-tack (demo 1988) THRASH METAL Demo 1988 Self released 1. Quiero Saber 05:25 2. Estoy Muriendo 04:30 SIZE:...
Friday, July 30, 2010
Subscribe to:
Post Comments (Atom)
Search This Blog
Popular Posts
-
FRASES SOBRE EL NUEVO ORDEN MUNDIAL, DE POL Í TICOS FAMOSOS Y FIGURAS IMPORTANTES-XII (9-29-11-8:30AM) ) “Buscando un nuevo enemigo frente ...
-
Mendacity (USA) - Atrocity Reflected (demo 1994) DEATH METAL Demo 1994 Self released 1. Blasphemer 04:20 ...
-
Everyone wants to get traffic to their blogs and one of the easiest ways to do this is using a traffic exchange. In general a traffic excha...
-
TOQUE DE CALDEROS Y “EJ É RCITO FANTASMAG Ó RICO” (9-2-11-5:00PM) Por Lic. María del Carmen Carro. -¡Que orgullo! Y a la vez… ¡que pena...
-
I follow a couple of blog advertising forums. Recently a question was asked as to what defines a blog. You know what I am tired of these t...
-
Very early in my blogging experience I decided that I control what my readers know about me. I really think most bloggers do this without r...
-
Ever since I started blogging I have done a lot of blog hopping. Every once in awhile I come across a blog post that seriously makes me sha...
-
Blogging has got quite complicated since Justin Hall, the pioneer of blogging started his first blog in 1994. Blogging complications have ...
Blog Archive
-
▼
2010
(277)
-
▼
July
(31)
- A New Way to
- Blocking an IP with PHP
- The Pitch
- Pushing the Bar
- A Short Twitter Experiment
- Identifying Spammers Using Stats
- Not Allowing Comments
- Comment Spammers Are Indeed an Interesting Breed
- Affiliate Program Request for Participation
- Comment Spam From Advertising Networks
- Making Things Difficult Without Realizing It
- Draft Mode
- Don't Make Promises You Can't Keep
- The Issue of Blog Stats
- Blogger Stats
- A Twitter Rumour
- A Stats Opportunity or Should I Say Blog Fodder?
- Focus on What You Do Have Not on What You Don't Have
- It's Quality Not Quantity When it Comes to Commenting
- Private Advertising
- My Experience with Widget Advertising
- Every Day is a New Day When Blogging
- Oh That Scrambling Feeling
- Comment Policy
- Captcha
- A Custom Made Graphic Basic
- Using Polls on Blogs
- Scheduled Blog Post Timing
- Results from June's Twitter Experiment
- July's Blogging Experiment
- The Half Way Mark
-
▼
July
(31)
No comments:
Post a Comment