Referer Spam

 RewriteEngine On
 #a known spamming site
 RewriteCond %{HTTP_REFERER} ^http://(.*\.)?egolddomain.(com|net)(/.*)?$ [NC,OR]
 #various "porno" words when separated by line breaks are probably spam
 RewriteCond %{HTTP_REFERER} ^http://.*(\b)porn(o(graph(y|er))?)?(\b).* [NC,OR]
 #referer url's with excessive - characters are probably spammers
 RewriteCond %{HTTP_REFERER} ^(http://www.)[a-z]+-[a-z]+- [NC,OR]
 #can add as many rules as desired following the pattern of the previous line
 #set an environment variable "BAD_GUY" so we can send their logs to a different file
 RewriteRule ^(.*) %{HTTP_REFERER} [R=301,E=BAD_GUY:1,L]
 #because we have set E=BAD_GUY above, we can do this in our log file:
 CustomLog /var/log/apache/access.log combined env=!BAD_GUY
 CustomLog /var/log/apache/access_bad.log combined env=BAD_GUY

See also

Retrieved from http://en.wikipedia.org/wiki/Referer_spam

Reprinted from Wikipedia, The Free-Content Encyclopedia under the GNU Free Documentation License.

Site Promotion Articles Indexes:

Get A Top 10 Search Engine Ranking
Get A Top 10
Search Engine Ranking

Better Results With Google AdWords

Pagerank Sculpting

Outrank Sites With More Backlinks

Get More Visitors With Better Page Titles

Improve The Conversion Rate Of Your Website

For How Many Keywords Should You Optimize A Web Page?

Find Sites Sharing Your IP

Google's New Web Page Spider

Search Engine Safe URL Redirect

KEI: A Good Indicator For Useful Keywords?

Google PR Improved With Domain Redirection

Dealing With A Google Ban

All You Need To Know About Google Suggest

Is Your WebSite Guilty By Association?

 

Search Engine Promotion Help Site Map

Valid HTML 4.01!

© 2010 Search Engine Promotion Help
September 02 2010 17:52 UTC