Eliminating Blog Spam on Your WordPress Website
December 20, 2010 by Marj Wyatt
Filed under Featured, Website Design
The longer your wordpress website is online, the more pages that are listed in search engines. Getting pages listed is good for your business, for sure, but it also makes it easier for blog spammers to target your site in their efforts to get links to their own sites. One method of doing this is referral spam. Perusing some of the comments blocked naturally by Akismet, it is fairly clear that they were not written by a human. Even though some of the malformed subjects and content created by spinning tools can become a source of amusement, having to manage your blog spam queue is a PIA and waste of time.
To keep your site healthy, you have to learn something about how things work and keep code up to date. Another term for this is website maintenance. Over the years they have been online, I have tried several things in my efforts to overcome my blog spam at GetIncomeBlog.com and my WordPress Website Development business site.
Within this post, I offer some alternative solutions and details about the one that I’ve settled on which is working perfectly for me.
Disabling New Comments
Within the WordPress dashboard, under Settings –> Discussion, there is an option to automatically close comments on articles older that a user definable time frame. This is probably the easiest counter-measure against blog spam but I’ve never enabled that option because most of my content is not time sensitive and I don’t want to disallow comments for people who might find it weeks, months or years after the post has been published.
Plugins
For a while, I used the Antispam Bee plug-in. It was effective against blog spam but it didn’t allow me to review comments that had identified as spam. Because there have been times when I’ve found comments from people that I know which have been marked as spam by Aismet, I didn’t want to risk it.
Referral Blog Spam Comments
Referral blog spam is generated by software and used by people who are looking for links back to their pages. These people are banking on the fact that their blog spam will land on blogs where comments are automatically approved. I’ve never set up a site that way and I’ve never allowed any of my WordPress Website Development clients to do so either.
The biggest headache for me was referral blog spam. Recently, I implemented some changes. After 72 hours of testing, I’m satisfied that I’ve found a solution that is worth sharing. Bona fide comments are still delivered and there been ZERO referral spam comments.
What a gift!
Eliminating Referral Blog Spam
The technique that I used involves three things:
- WordPress configuration
- Modification of .htaccess
- Captcha plug-in
- A little vigilance
WordPress Configuration
First, here is a screen shot of how my Discussion settings are configured at all of my sites:
Some of these are defaults but others are not. I do not automatically approve comments from people whose past comments have been approved. By way of explanation, the reason that I only request notification when a comment is held for moderation is because that second email that comes after I’ve looked over a comment and approved it was redundant.
.htaccess changes
To completely eliminate referral blog spam, you must add a few lines of code to your .htaccess file. This is a file that resides on your server and was created at the time you installed the wordpress application. It is critical that you retain a backup copy of this file because your site may become non-operational if you do not get it right the first time and you need to recover quickly when things go wrong.
# DENY ACCESS TO NO-REFERRER REQUESTS
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post. [NC]
RewriteCond %{HTTP_REFERER} !.*YOURDOMAIN. [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule ^(.*)$ ^http://YOURDOMAIN.com/your-page/ [R=301,L]
These lines of code are placed just above the line that says # BEGIN WordPress. You will need to customize the code to agree with your domain names and destination URLs. This post does not endeavor to teach you the function behind the above code but, in summary, what it is doing if diverting comments that are not originated through the comment form on your site and, if someone’s software is trying to do that, they are directed to a page on one of my other domains that counts down the time until Christmas. Granted, referral spammers will never see that page but it gives me a way to track their attempts when I review statistics that are logged by the Statpress plug-in.
You can use any text editor to read and modify the .htaccess file. When you are saving the file, you must use double quotes so the file extension is not “.txt”.
Captcha plug-in
After a little trial and error, I decided to use the SI CAPTCHA Anti-Spam plug-in. All that I can say about my choice is that this one did not require any additional coding and it accomplished the task.
Vigilance
WordPress also incorporates the ability to blacklist commenters. You can bar a comment that contains user defined words in its content, by commenter’s name, by URL, by e-mail, or by IP. For those referral blog spam comments that slip through the cracks for any reason, this will be the final authority on whether or not you have to manually handle their unwanted comments.
Caveat
There is one caveat to my preferred anti-referral blog spam method. It will only work with a self-hosted WordPress website. In other words, if your blog is hosted at WordPress.com, you will either have to put up with referral spam or install one of the available plug-ins through your dashboard.
Incoming search terms:
- blog referral spam
- blogger referral spam
- referrer spam blogspot
- add comment captcha
- statpress referrer spam
- spam referrer wordpress
- referrer spam wordpress statpress
- is the Referral Task spam
- eliminate referral spam
- dealing with referrer spam on self-hosted wordpress
Good Website Design and Search Engine Optimization are not Mutually Exclusive
July 29, 2010 by Marj Wyatt
Filed under Featured, SEO Strategies, Website Design
Website design is a process of function and aesthetics. I’ve just completed a project where the desires of the graphic designer took precedence over search engine optimization and website performance. I had only heard about these sorts of debates before and had never been involved in one.
The designer admitted they cared more about look and feel of the site than they did about its features and functions. Ultimately being forced to defer to the graphic designer’s logic by putting a scroll box into a post, for the sake of aesthetics, enforced website design tactics that have not been popular since the late 1990’s. Neither the project initiator nor the graphic designer seemed to care at all about search engine visibility, website performance, or the impact their design-based decisions were having upon the website design functionality or the user experience. Regardless of my feelings about it, I did as I was instructed and delivered a site that has absolutely no SEO value, much to my chagrin. I contributed my ideas and they were ignored. What else was there for me to do?
But, my position stands firm that graphic designer opinions should NEVER take precedence over website design performance, function, and search engine optimization. I will augment this by saying that website design aesthetics and website functionality are not mutually exclusive goals. With a little bit of understanding, beautiful graphic designs can be rendered to highly functional code that performs well and is also optimized for search engine visibility.
In my experience, graphics designers rarely have website design development or SEO skills. I have the distinction of possessing wordpress website design, development and SEO skills, among other things, so this is not true of me. My composite skill set is extremely rare, so I have been told. Because it is important to my clients, I keep abreast of current online marketing tactics and website design and development trends so I can educate my customers and offer choices, should the need arise. Of primary concern to me is overall website SEO and performance. A properly designed website can garner organic traffic, especially if it uses the built-in features of a content management system like WordPress, and performance does not have to suffer if the developer knows what they are doing.
With the caveat that there are many people out there who know as much or more about this topic than me, I will share a little of what I know about these things in this post. It is not all inclusive, for it would be impossible to encapsulate years of experience on such large subjects into a single post.
Why Should You Care about SEO?
A pretty website design pleases the eye, and aesthetics do matter, but your website SEO strategy can make the difference between a profitable website and a wasted expense. If you are not doing your own development work, you have paid a professional website design developer real money in exchange for their time. Viewing your website as a marketing asset should not be taken lightly. With good planning, design, and a solid SEO strategy in mind from the onset, your website can become an extremely valuable tool that facilitates your business success.
Search Engine Optimization is not a huge mystery. There are several sites with valuable and free content out there for people to study, if they are willing to invest the time and energy. While each SEO “expert” seems to subscribe to their own philosophy, seach engine algorithms are based on math some factors are constants.
Generally speaking, there is on-page SEO and off-page SEO. On-Page SEO is what you do with your website design and post content. Off-Page SEO can be loosely defined as the linking strategies you employ to elevate your site’s authority on the internet. Both are important, but the latter has very little to do with website design.
On Page SEO
Each page of your website is viewed individually by search engines. Thus, it is possible for some of your pages to have a more elevated listing status in the search engines than others. Content management systems, like WordPress, offer really cool SEO features like internal linking and frequent updates through RSS feeds and commenting features. As a website design consultant, one of my functions is to help my clients choose rich keyword terms for categories. While some Graphic Designers hold steadfastly to their belief that there still is a place for straight HTML websites, open source applications like WordPress, which is continually improving, make that belief all but obsolete.
Within a page, search engines are alerted by text styling tactics of using headings (H1 is best) or bold text to call attention to important content that contains the keywords you are pursuing. Enabling WordPress plugins that permit you to specify relevant meta titles, descriptions, and post-specific keywords will assist with acquiring organic traffic and gaining better page listings and rankings. Since I put up my first WordPress Website Design years ago, I’ve been using the All in One SEO plugin, although there are others out there.
Having a keyword rich domain name and page title goes miles toward a quick ranking. Post titles and overall URL length matter. The last time that I checked, search engines only read the first 256 characters of a URL. This could have changed, so don’t quote me. So, if you have a long domain name and a long page/post title, your effort in researching and placing keywords could be pointless. WordPress setup defaults are not the best for creating links. There are multiple opinions about what is the best way to customize the permalink structure. In any case, finding ways to eliminate unimportant words and numbers from the link is the only way to go.
Off Page SEO
This is, in a nutshell, your linking strategy. Over the years that I’ve been involved with website delivery, I’ve seen hundreds of offers for SEO automation tools that claim they can drive floods of traffic to your site by exploiting loopholes in search engine algorithms. I’ve never taken that bait. As for other tools that offer SEO link building assistance that is white hat, I’m skeptical that these products have delivered the results promised but I do confess to not having tried more than a handful of them. In my humble opinion, high quality external links are earned through the time-consuming work of posting articles, providing high-quality responses in active forums, and building an online reputation for your site’s authority by offering sincere and relevant blog comments or appearing as a guest blogger on a high ranking site.
Freelancers offer SEO services of link building through article creation, blog commenting and forum posts. I cannot compete with offshore service provider pricing so this is not a service that I offer. I educate my customers on link building tactics and sometimes refer work out to colleagues. There are article spinning tools that allow you to write one good article and spin it multiple ways so you can have unique content up on multiple sites. As for automating blog comments, I don’t approve spam comments on my sites so why should I expect anyone else to do so?
Forums may seem like old news but there are some very busy forums with high authority on which I’ve been actively pursuing links back to a few of my sites. Just ensure that you become active in a forum that is related to the main topic of your site if you choose this tactic for link building.
Website Design Performance Notes
If you are using images on your site, upload and reference them with keyword rich names. Embedding keywords as alt text for your images is a important too because search engines can read it. More and more frequently, websites are being found through image searches. Although it makes a site or post more interesting, excessive use of images is discouraged because each call for that image results in another http request which can inhibit performance.
Pages that are designed entirely in flash are … well, flashy. I truly admire the skills that flash programmers have honed but I have never recommended flash introductions when text and images will deliver the same message. Opinions may vary but mine is that flash intros and pages are not good for SEO. Additionally, flash is a client-side application that relies on the technology configuration of the viewer’s computer. Most non-technical people are not as fastidious about PC maintenance and technology upgrades as I may be and no website design expert can write code to overcome that. Hire the flash developer, by all means, but keep in mind that your multi-thousand dollar investment for flash programming may be lost on a portion of your potential audience who is frustrated by the fact that they see nothing on the page or it is taking too long to load.
When moving a site from HTML to a content management system, I frequently hear my clients say that the site seems slower. That’s true. It is, by comparison. This has to do with PHP and database access speeds. Website design architecture and code that works as optimally as possible is my responsibility, so I’m not abdicating entirely. Recently, when this protest kept coming up, I set up the same site on two other hosting services so they could compare site performance. It was a proverbial “no brainer” decision. Their hosting service was the stumbling block. Both A2 Hosting and JustHost eclipsed Network Solutions for page loads and video performance.
The use of CSS sprites improve website design performance because only one image is referenced. I do not advocate for the use of image-based menus, however, because their use removes text from the pages and eliminates dynamic addition of navigation links. This is best explained by example. One of the features of WordPress is that it automatically adds new category links to menus without having to alter site code. This translates to ease of use for my customers, once they’ve gotten a handle on the difference between pages, posts and categories. With the exception of the site that I was recently asked to develop, all of my site navigation code has been pure CSS, clean and simple. After working with a beautiful theme that used one image for all of its iconography and backgrounds, my custom theme designs will be making much more use of CSS sprites.






















