my6solutions

asp .net, the social web & other distractions

 

Running Apps


PayPal - The safer, easier way to pay online!

Disclaimer

I am in no way affiliated with Microsoft or Google. I am just another developer trying to make a difference. All opinions and observations are usually my own.

Reducing spam from BlogEngine .NET

Update 3: Removing the website field seems to do the trick. Thinking about it, a simpler alternative may be to just rename the standard website TextBox ID name.

Update 2: Now I realise what is missing from BlogEngine .NET. Captcha!

Update: It seems that spammers are now just inserting links directly into the comments. I guess if there's a will there's a way. 

If you use BlogEngine .NET, you may have experienced people leaving comments that were unrelated to your post. It seems that people have been using the Website field to promote their own sites. Linking back for search engine optimization. This is not really an issue because in the end you get to approve and delete the post. However, some poeple still think it's worth a try and I can imagine the situation getting worse when traffic to your site increases.

Therefore, I have decided to remove this field to see if it can reduce the number of spam "approval" emails that I get. There are 3 files that needs to be modified.

/User controls/CommentView.ascx.cs CommentView.ascx.cs (16.16 kb)
/User controls/CommentView.ascx CommentView.ascx (6.22 kb)
/blog.js blog.js (18.68 kb)

Basically, the changes removes in textBox for the website field and sets the values to an empty string. However, the downside of these changes is that you will need to do this again if you decide to upgrade BlogEngine.NET.

Bookmark and Share

Categories: BlogEngine.NET
Permalink | Comments (0) | Post RSSRSS comment feed