What is Semalt and how do I block it? Part 2

Facebook
Twitter
LinkedIn

In my last post I talked about Semalt and why it is important to block referral traffic from certain websites such as Semalt. Today, I will show you several ways of how to completely block them and removing them from your site forever.

To quickly refresh, Semalt is a ‘company’ that is sending crawlers all over the web to every website and is skewing the stats that Google and other search engines use to rank websites. Along with blocking Semalt, I highly recommend you block Kambasoft and Savetubevideo. I suspect these are other fishy tactics used by the same company or another uncouth website.

Below are ways to block Semalt and others. I recommend implementing all of the below tactics if possible.

Block referral traffic in Google Analytics step 1:

  1. Log in to your Google Analytics account
  2. Go to the Admin Tab
  3. Click on Tracking Info
  4. Go to Referral Exclusion List
  5. Click + Add Referral Exclusion (red button)
  6. Type in semalt.com
  7. Save
  8. Click + Add Referral Exclusion (red button)
  9. Type in *.semalt.com
  10. Save
  11. Repeat process for kambasoft.com and savetubevideo.com and others.

 

Block referral traffic in Google Analytics step 2:

  1. Log in to your Google Analytics account
  2. Go to the Admin Tab
  3. Click on Filters
  4. Click + New Filter (red button)
  5. Create new filter
  6. Name it (Exclude semalt.com)
  7. Click: Custom Filter
  8. Filter Field: Referral
  9. Filter Pattern: semalt.com
  10. Save
  11. Repeat process for kambasoft.com and savetubevideo.com and others

 

Below are a couple of very advanced ways of blocking referring traffic from visiting your site.

How to block Semalt and others with htaccess version 1:

# BLOCK SEMALT / KAMBASOFT / SAVETUBEVIDEO #

<IfModule mod_rewrite.c>

RewriteEngine On

Options +FollowSymLinks

RewriteCond %{HTTP_REFERER} ^([^.]+.)*?semalt.com [NC]

RewriteRule (.*) http://www.semalt.com [L]

</IfModule>

<IfModule mod_rewrite.c>

RewriteEngine On

Options +FollowSymLinks

RewriteCond %{HTTP_REFERER} ^([^.]+.)*?savetubevideo.com [NC]

RewriteRule (.*) http://www.savetubevideo.com [L]

</IfModule>

<IfModule mod_rewrite.c>

RewriteEngine On

Options +FollowSymLinks

RewriteCond %{HTTP_REFERER} ^([^.]+.)*?kambasoft.com [NC]

RewriteRule (.*) http://www.kambasoft.com [L]

</IfModule>

 

How to block Semalt and others with htaccess version 2:

 

<IfModule mod_rewrite.c>

RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*semalt\.com [NC]

RewriteRule .* – [F]

RewriteCond %{HTTP_REFERER} semalt\.com [NC]

RewriteRule .* – [F]

RewriteCond %{HTTP_REFERER} ([^.]+)\.semalt\.com [NC]

RewriteRule .* – [F]

RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*savetubevideo\.com [NC]

RewriteRule .* – [F]

RewriteCond %{HTTP_REFERER} savetubevideo\.com [NC]

RewriteRule .* – [F]

RewriteCond %{HTTP_REFERER} ([^.]+)\.savetubevideo\.com [NC]

RewriteRule .* – [F]

RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*kambasoft\.com [NC]

RewriteRule .* – [F]

RewriteCond %{HTTP_REFERER} kambasoft\.com [NC]

RewriteRule .* – [F]

RewriteCond %{HTTP_REFERER} ([^.]+)\.kambasoft\.com [NC]

RewriteRule .* – [F]

</IfModule>

 

How to block Semalt and others with web.config
<rewrite>

<rules>

<rule>

<conditions>

<add input=”{HTTP_REFERER}” pattern=”*.kambasoft.com*” negate=”false” />

</conditions>

<action type=”Redirect”  url=”http://www. kambasoft.com “/>

</rule>

<rule name=”RequestBlockingRule2″ patternSyntax=”Wildcard” stopProcessing=”true”>

<match url=”*” />

<conditions>

<add input=”{HTTP_REFERER}” pattern=”*.semalt.com*” negate=”false” />

</conditions>

<action type=”Redirect”  url=”http://www.semalt.com”/>

</rule>

<rule name=”RequestBlockingRule3″ patternSyntax=”Wildcard” stopProcessing=”true”>

<match url=”*” />

<conditions>

<add input=”{HTTP_REFERER}” pattern=”*.savetubevideo.com*” negate=”false” />

</conditions>

<action type=”Redirect”  url=”http://www. savetubevideo.com “/>

</rule>

</rules>

</rewrite>

 

If you need assistance with including this in your SEO strategy then please feel free to contact us today!

Facebook
Twitter
LinkedIn

COMPLIMENTARY 20-MINUTE STRATEGY SESSION!

We’re eager to learn about your project. Contact us for a free strategy session.

Let’s Get Started!