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
-
Embalmed (Netherlands) - The Chance to Mourn (demo 1992) DEATH METAL Demo, Independent 1992 1. The fear to sleep 04:14 2. Piece by piece 03:...
-
When I first started blogging I did not use post labels. A kind reader mentioned that if I used labels it would make it easier to find rela...
-
Right from the time I started blogging I have been of the mindset that you have to listen to your readers. I can remember the first time I ...
-
I joined BlogUpp a couple of months ago. Like any program I join I usually give it a trial period of one month. If I'm happy with what...
-
I do a fair amount of blog hopping on a daily basis. What I have noticed is a blogger for whatever reason hasn't blogged for awhile and...
-
Recently I had one of my Twitter followers make a tweet that said "Why do people blog under an assumed name - it's just wrong - lea...
-
Traffic exchanges are sites with the sole purpose of helping you get traffic to your blog. They generally work on the premise of for every...
-
Despair's Tiny Things(France) - Third (demo 1997) DOOM/DEATH/GOTHIC METAL Demo 1997 Self Released Track 2 is a re-recorded version of a...
-
Decay (Czech Rep.) - What's E...? (demo 1996) DOOM/DEATH METAL Demo, Self-released 1996 1. Autumnal 2. Hidden 3. Scape 4. Look 5. Wh...
-
Nugatory (Sweden) - Nugatory (EP 1995) DEATH METAL EP, Playwood Prods/Joker Music 1995 1. Intro 00:30 2. World of Pain 00:47 3. Annihilate 0...
Friday, July 30, 2010
Subscribe to:
Post Comments (Atom)
Search This Blog
Popular Posts
-
I recently came across a blog that talked about blogging in a public washroom. Now I haven't blogged in a public washroom. The worst I...
-
Sorcery (Fra) - Demo I [2000] BLACK METAL THANKS SIWY FOR A SOURCE TAPE!!! TRACKLIST: 1. Sorcery 2. In the Guts of Dwimorberg 3. Nyarlatho...
-
I have been conducting a blogging experiment the past month to see how adding a twitter feed to my blogs affects traffic. Up until a month...
-
Decay (Czech Rep.) - What's E...? (demo 1996) DOOM/DEATH METAL Demo, Self-released 1996 1. Autumnal 2. Hidden 3. Scape 4. Look 5. Wh...
-
L A HISTORIA(GR Á FICA) EN LA MEMORIA CUANDO "LOS BOLOS" ERAN LOS DUEÑOS DE CUBA-V ( 9-2-11-10:10AM ) En esta foto de 1989, ...
-
Azarius (USA) - Demo 1993 DEATH/BLACK METAL Demo 1993 Self released 1. Sacrifice 2. Angel-Beast of Satan 3. Necrophagus SIZE: 6 MB ...
-
Defender(Spain) - Demo 1993 HEAVY/THRASH/SPEED METAL Demo 1993 Self released 1. Darkness 07:14 2. The Dance of the Pain 03:52 3. Ri...
-
I posted almost a month ago a heads up regarding BlogExplosion . Honestly I would like to be the bearer of good news but it isn't good ...
-
Sepolcrum(Italy) - Promo 1994 DOOM/DEATH METAL Demo, Self Released 1994 1. Tears Of Autumn 2. Funebre SIZE: 25 MB DOWNLOAD: http://www.medi...
-
Everyone has heard of and is talking about the privacy issues at Facebook. According to a lot of tweets on Twitter as well as blog posts th...
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