TechSansar
  • Startups
    • Tech Events
      • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
    • QnA
      • Ask a Question
      • नेपाली संस्करण
No Result
View All Result
Social icon element need JNews Essential plugin to be activated.
TechSansar
  • Startups
    • Tech Events
      • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
    • QnA
      • Ask a Question
      • नेपाली संस्करण
No Result
View All Result
TechSansar

Block Spam Referrers on Your Website or Blog

15 years ago
in Computing, Tips & Tricks, Websites
Reading Time: 9 mins read
6

Last month, TechSansar.com suffered a lot due to heavy fake traffic generated via some unwanted websites. Those websites were not referring TechSansar but using scripts to alias the visitors or send fake visitors to the site. As much as thousands of fake visitors consumed more than 2 gigs of bandwidth each hour. And finally we had to take actions, now we have no such fake referrers, or such referrer spams reduced to just few number.No spam logo, img credit stopusagebasedbilling.wordpress.com
So, on this article we write about different ways to understand the fake referrers and to totally eliminate them. Now onward do not become happy if your blog have majority of visitors from some Polish or Russian matured content sites, yes they are fake and they don’t produce any page impressions or page views at all.
What is a Referrer Spam?
Referrer Spam or log spam or referrer bombing are all spamdexing ie spamming or referring fake visitors according to Wikipedia. With increasing spam referrers, your bandwidth is consumed and you have bad impression with search engines; while those spam websites get benefit from search engine after establishing link connection with your website. There are lot of harms to your server and site performance, in the meanwhile we don’t want it at all. They are not genuine HTTP referrer at all, avoid them.

How to Block Referrer Spam?

There are a number of ways to block fake HTTP or Referrer Spams, whatever the process mean they basically do the same task of blocking unwanted visitors to your website or blog.

Increasing SPAM referrers... and controlling them: read full article @ http://wp.me/pDvVE-IZ
Increasing SPAM referrers... and controlling them: read full article @ http://wp.me/pDvVE-IZ

Block referrer using .htaccess file

Open .htaccess file on your web server where your website is hosted (in most of the cases it is hidden, ensure that the file is *.htaccess extension only with no name) and append the chunk of codes to the file.
Visit aaronlogan.com and copy paste the given codes to your .htaccess file (ensure you do this only to the code said to you, do not copy paste the whole html document) and you can modify the code to meet your requirement.
block user agents used to harvest URLs and email addresses
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/4.0 .*Win 9x 4.90.*$ [NC,OR]
or
block bots that use your bandwidth for their own commercial reasons
RewriteCond %{HTTP_USER_AGENT} ^.*TurnitinBot.*$ [NC,OR]
or
block URLs based of certain keywords

RewriteCond %{HTTP_REFERER} ^(http://)?(www.)?.*(-|.)affiliate_program(-|.).*$ [NC,OR]
or
block traffic directly from selected IPs
deny from 12.22.85.3
Block referrers using variables of server
This may not be easy task for most of the readers, so be careful when using it. For details see this article at besthostratings.com, set span_ref environment variable like

SetEnvIfNoCase Referer "^http://(www.)?some-spammer.com" spam_ref=1

or in allow deny portion insert

Related Post

Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp

👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021

Brave Search is here – offers independent privacy search #SearchEngine #BraveSearch

Windows 11 – what we know so far about Microsoft’s Windows 11?

Deny from env=spam_ref

Block referrers using WordPress hacks
If you are using WordPress to host your website or blog, then there are several plugins or you can even apply WP hacks to prevent unwanted websites to refer to your website. Using following WordPress plugins will easy your work a lot, eg keywords and urls to block from your list.
WordPress Top Referrers: The WordPress Referrers plugin is a fully automated, self running referral tracking script.
You set it up once and just let it run, the list is automatically cut after x days, you can block any domains from being included, includes spam protection and other features.
Secure WordPress by SSM: Remove Error information on login page; adds index.html to plugin directory; removes the wp-version, except in admin area.
Also be careful with Do follow and Do not follow traits.
That’s it with the spam guard. Now you should have some clean referrers, huh. Confused still, write to us.

Next Post

How to keep password in TuneUp Utilities 2011

Comments 6

  1. Pieter Hartsook says:
    15 years ago

    The WP Top Referrers plugin for WordPress seems sorely out of date. Do you have any opinion on using the “Bad Behaviour” (British spelling) plugin? The BB website with info about the plugin is at http://www.bad-behavior.ioerror.us/
    I sure would like a solution like Akismet that will take care of maintaining block lists for me using input from a vast array of users and not have to hack my .htaccess file.

  2. Pieter Hartsook says:
    15 years ago

    The WP Top Referrers plugin for WordPress seems sorely out of date. Do you have any opinion on using the “Bad Behaviour” (British spelling) plugin? The BB website with info about the plugin is at http://www.bad-behavior.ioerror.us/
    I sure would like a solution like Akismet that will take care of maintaining block lists for me using input from a vast array of users and not have to hack my .htaccess file.

  3. Pieter Hartsook says:
    15 years ago

    The WP Top Referrers plugin for WordPress seems sorely out of date. Do you have any opinion on using the “Bad Behaviour” (British spelling) plugin? The BB website with info about the plugin is at http://www.bad-behavior.ioerror.us/
    I sure would like a solution like Akismet that will take care of maintaining block lists for me using input from a vast array of users and not have to hack my .htaccess file.

  4. Pieter Hartsook says:
    15 years ago

    The WP Top Referrers plugin for WordPress seems sorely out of date. Do you have any opinion on using the “Bad Behaviour” (British spelling) plugin? The BB website with info about the plugin is at http://www.bad-behavior.ioerror.us/
    I sure would like a solution like Akismet that will take care of maintaining block lists for me using input from a vast array of users and not have to hack my .htaccess file.

  5. Pingback: नयाँ ब्लग पोस्ट गरेपछि गर्नैपर्ने कुराहरु Things to do after new blog post
  6. Pingback: नयाँ ब्लग पोस्ट गरेपछि गर्नैपर्ने कुराहरु Things to do after new blog post
No Result
View All Result

Recent Posts

  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021
  • Brave Search is here – offers independent privacy search #SearchEngine #BraveSearch
  • Windows 11 – what we know so far about Microsoft’s Windows 11?
  • How to reduce background noise during Microsoft Teams or Zoom meetings
  • What is VoLTE & how to activate VoLTE for Nepal Telecom mobile SIM
  • ICT Initiatives announced during National ICT Day 2078 #NationalICTDay
  • Nagarik App is out of beta, introduces Nagarik profile QR scanner & more features
  • Samsung’s Flagship Phones Prices in Nepal
  • 6 simple yet effect ways to speed up your Windows 10 computer

Recent Comments

  • Dewlance Hosting on Top Websites in Nepal
  • Suman Singh on Basic Core ICT Indicators
  • Dinesh Guragai on Huawei Authorised Dealers, Distributors & Service Centers in Kathmandu, Nepal
  • Anup Thapa on All Nepali Fonts – download & install in Windows, Mac & Ubuntu
  • Dhiraj singh on Authorized distributors & Service center of Dell laptops in Nepal

Listen to TechSansar Podcast

Categories

Recently published

  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021
  • Brave Search is here – offers independent privacy search #SearchEngine #BraveSearch
  • Windows 11 – what we know so far about Microsoft’s Windows 11?
  • How to reduce background noise during Microsoft Teams or Zoom meetings
No Result
View All Result
Call us: +1 234 JEG THEME
No Result
View All Result
  • QnA Platform
  • Gadgets
  • Tech News
  • Tips & Tricks
  • About us
  • ICT in Nepal
  • Market

With ❤ from Nepal