Block WordPress Remote Comment Spam Bot

May 27, 2011 3:25 pmTerence Chang
Posted by : 4 Comments

SPAM!
Image Source: SPAM Courtesy Of: MasterMan

I am so tired of getting spam comments on some of my sites. I’ve also tried many anti-spam plugins.

  • Spam-Free Plugin
  • Comment Math Questions
  • Comment Quiz
  • Comment Captcha
  • Double Opt-in
  • Change default comment page name from wp-comments-post.php to something else.

Guess what? None of them work so far. There are company in India hiring real people to crack the CAPTCHA code for spammers. The SPAM-Free plugin only blocks those from your blacklist or known SPAMMERS. Comment Math isn’t working when it always easy to calculate.

Most WordPress spam comments are submit from automated script running on anonymous servers with random forged IPs. So the spammer never visit your website. That really sucks out of my valuable time to fight spam and delete spam comments.

One of my site just post a new article. Within few hours, I got over 100 spam comments with ZERO visit and page view.

What can I do about it?

[Read more...]

Prevent Facebook Social Plugin to load page twice – CodeIgniter

December 1, 2010 4:56 pmTerence Chang
Posted by : Leave a Comment

facebook_logo

Recently, I discovered one of my web project build on top of CodeIgniter is having issues with duplicate page views. It only happens to FireFox and Google Chrome browser. It looks just find on IE, Opera and Safari browser. So I keep researching and researching and finally found out that Facebook Social Plugin is hitting the page after the initial page load from the browser triggered by the end user.

I am not sure why it doesn’t happen to browsers other than FireFox and Google Chrome. There has to be a way to prevent this from screwing up my page view counter.
[Read more...]

CodeIgniter – No input file specified error – .htaccess – PHP5 – Apache 2

August 28, 2008 8:09 pmTerence Chang
Posted by : 59 Comments

Speed Coder

Image Source: Day 486 / 365 – Late Night High Level Coding Courtesy Of: JasonRogers

What the heck is this blog post all about? I am warning you that this is going to be a very technical driven blog post.

I felt so funny that this blog got more traffic from search engine to IT related blog posts than to my Internet Entrepreneur Diary or Weekend Confession blog posts. This blog was started with many IT relate topic to records the problems I ran into and the solutions I found. It’s a good time to give it a little update.

Let’s cut to the chase. I am working a new projects that is running on PHP5, Apache 2 and MySQL. I need to get this project done fast and good. So I finally found one of the best choice from so many PHP frameworks. CodeIgniter seems to be the best one fit my needs. It’s very simple and fast. Although it does not support PHP5 OO programming, but it does run on PHP5.

ci_logo2

I just ran into problem on my shared hosting server, which is running PHP5 as CGI mode on Apache 2.2 according to PHPINFO(). It throws an error when I access page. “No Input File Specified!” Now the problem is solved!

[Read more...]

Testing the WordPress Plugin to add copyright to the RSS FEED

December 4, 2007 9:05 pmTerence Chang
Posted by : 2 Comments

A very talented friend of mine Stephen Cronin at More Than Scratch The Surface just recently release a new WordPress Plugin, which allows you to add copyright to your RSS FEED header. It will display a custom copyright information to only the RSS FEED. So the splug program will have less chance to scrap your content and took your hard work. The plugin is called FeedEntryHeader. This post it to test it and see if it does what it says.

[Read more...]

ANHosting will roll out PHP5 beginning Nov 1st

October 12, 2007 9:32 amTerence Chang
Posted by : 2 Comments

Being with ANHosting.com for almost a year, I have to say that I am happy with their services so far. Although there are many instances that the server was unstable, they were resolved in reasonable manners. So what is next?

ANHosting will start rolling out PHP5 on all servers beginning Nov 1st.

[Read more...]

WordPress errors with capabilities.php, classes.php and the_excerpt_reloaded() fatal error

August 9, 2007 4:43 pmTerence Chang
Posted by : 8 Comments

For some reasons, I just recently received the following errors on one of my blog hosting accounts. Nothing has changed on the WordPress side. I was wondering what was changed on the hosting side. However, I could not get hold with the hosting company support. I finally found the resolutions.

[Read more...]

YUI asyncRequest post with “Length required” error on IIS6 + FireFox

June 4, 2007 10:30 amTerence Chang
Posted by : 3 Comments

I am using Yahoo YUI Javascript library on one of my client’s web site. The web site is hosted on MediaTemple.net‘s GS (Grid Service) server, which is Linux based web hosting server. My client asked me to move the web site to another Windows 2003 + IIS6 based web server for testing and backup purpose. I have moved the code and everything work fine except the AJAX feature is not working right.

Whenever I set the asyncRequest request, it does not post the data. Instead, it always returns an error about “Length Required”. In other words, the server script do not receive any post data so it return an warning that there is zero data length.
[Read more...]

Related Posts Plugin for WordPress, Blogger...