Stop Receiving Traffic From Bad Sites
The post title of the today's topic might look awkward to you and you might be thinking that why to stop receiving traffic from bad sites.
You might be thinking that receiving huge traffic from other sites is good as it will increase earnings on Google Adsense or any other ad networks, this is according to newbies thought.
But, The Pros and Google itself tell that traffic coming from bad sites, illegal sites and also gaining too much referral traffic is not good. Actually, It is the low-quality traffic which harms your blog.
So, in this post, we'll discuss that why we should stop receiving traffic from bad sites, detecting the traffic coming from bad sites and blocking it to be safe. Let us start with the reason why to stop this kinda traffic.
Why Should You Stop Incoming Traffic From Bad Sites?
This is the first question you might want to ask and let me answer this. In the eyes of Google and internet traffic laws, this is the low-quality traffic which we should avoid getting. The reason of stopping this traffic is that your Google Adsense account might get disabled because of low traffic and increase of referral traffic.
Google Adsense requires the 50% of organic traffic coming from any search engines. If you're using any kind of advertising network on your blog or site then it can also affect on that network because most every ad network prohibits this kinda low-quality traffic and this can affect the search rankings.
Secondly, getting too much traffic from bad sites indicates of getting penalized by Google penguin and everyone just want to beat Google penguin. So, you should stop this traffic to be safe from Google Penguin and Adsense.
Detecting The Traffic Coming From Bad Sites
I think you're using Google Analytics as your traffic counter. The reason it is the most popular tool which gives and accurate and huge data about our visitors. And by the use of this tool, we can detect this kind of traffic.
First of all, you will see the increase in traffic and you will be happy to see the traffic because everybody needs it. My recommendation, whenever you will see the traffic increase then you should check the traffic sources which informs you from where the traffic is coming from.
If you see more than 50% increase in referral traffic then any good or bad site is sending traffic to you and if the direct traffic is increased more than 50% than you might be receiving traffic from bots. Well, let's come to our point. Our point is all about referral traffic here so if that referral percentage is increased then you should check from which sites the traffic is coming. To check which site is sending referral traffic then Go to Google Analytics >> Traffic Sources >> Referrals.
There you will see those all sites from where you're getting referral traffic. So, check which site is sending the highest traffic to you. You've to check only those sites which are sending high traffic to you as you can see in the main image that sites are sending more than 40k visits.
After getting the domain of those sites, visit each site and check them manually.
Below, I've listed some points which you've to check on those sites. If they are having these sites then make sure they are bad sites.
There are the several reasons that they're sending huge traffic to you without letting you know about that. I'm going to tell you those reasons which are present in my mind.
Enemies Send Bad Traffic To Harm Your Site
The first reason is that your enemy maybe is the owner of that bad site and he wants to harm your site and your hard work. You might know that it is your enemies site which is sending traffic to you.
Your enemy might have added the banner or link of your site in his bad site or he might have redirected all the traffic to your site just for wasting your efforts and harming your site. An enemy can do any action just to harm you.
Mistakenly Bought Ad Slot On Bad Site
This is the another and foolish reason and you might be laughing at this that you might have bought the ad slot on bad site by which you're receiving this traffic.
Beginners are new into this world and they don't know that the action which is being done is correct for the career or wrong. And you can be the beginner to do this foolish mistake. Well, We're the human being, we do mistakes and there is no human in the world who has not done the mistake yet.
Bad Site Is Using Your Theme With The Credit Link In Attribution
This is the third reason that you might have created and published the theme for free on your site and you also added the credit link in attribute with the script that if someone removes the link then the traffic of that blog will redirect to your site and that theme is being used by that bad site and he also has removed the credit link and you're getting all the traffic.
One thing I would like to tell you that don't add such credit links in attributions because according to new policies of Google SEO you'll be penalized.
How To Stop Receiving Traffic From Bad Sites
Now after the long story let's come to our main point that is about blocking the traffic coming from any specific domain or bad sites.
Recently, I got JavaScript and PHP script from StackOverflow which I'm going to share below. Before I give you the scripts with a tutorial, first of all, let me tell you that how this works.
How did These Scripts work To Block Referral Traffic?
There is not any history behind these scripts but just for knowledge and clearing the topic I would inform you that how they work. First of all, we'll add this script to our site below <head> section. They are two required fields in the script which we've to edit or fill.
The first one is the domain name of any bad site from where the traffic will be blocked and the second one is the URL of any testing web page where all the traffic will be redirected. Now, when you will receive the traffic that script will detect that domain and send or redirect that traffic to the testing web page or any other URL which you give.
Copy The JavaScript or PHP Script Which is Being Supported By Your Platform
Paste It Below <head> [ So that browser read this first and script do the quick action ]
Fill URLs From Where To Traffic Should Be Blocked or Bad Site's URL.
Fill URL Where All The Traffic Should Be Redirected!
Save It!
JavaScript
<script type='text/javascript'>
var block = ['url1', 'url2'];
for (var b = block.length; b--;) {
if (document.referrer.match(block[b]))
window.location = "http://google.com/";
}
</script>
PHP
$block = ['url1', 'url2'];
foreach ($block as $value) {
if ($_SERVER['HTTP_REFERRER'] == $value)
header('Location: http://google.com/');
}
Conclusion:
So, friends, that was how we can block the traffic coming from any domain, site or bad site. Actually, This happened with me and I got the solution and also shared with you here. We can also do this with a .httaccess file but I think these are easiest methods.
If you're facing the problem or want to ask any question then feel free to ask in comments and also share your views about this. Sign up here for free to get informed about the latest ideas and also follow us on social networks. Take Care!
The post title of the today's topic might look awkward to you and you might be thinking that why to stop receiving traffic from bad sites.
You might be thinking that receiving huge traffic from other sites is good as it will increase earnings on Google Adsense or any other ad networks, this is according to newbies thought.
But, The Pros and Google itself tell that traffic coming from bad sites, illegal sites and also gaining too much referral traffic is not good. Actually, It is the low-quality traffic which harms your blog.
So, in this post, we'll discuss that why we should stop receiving traffic from bad sites, detecting the traffic coming from bad sites and blocking it to be safe. Let us start with the reason why to stop this kinda traffic.
Why Should You Stop Incoming Traffic From Bad Sites?
This is the first question you might want to ask and let me answer this. In the eyes of Google and internet traffic laws, this is the low-quality traffic which we should avoid getting. The reason of stopping this traffic is that your Google Adsense account might get disabled because of low traffic and increase of referral traffic.
Google Adsense requires the 50% of organic traffic coming from any search engines. If you're using any kind of advertising network on your blog or site then it can also affect on that network because most every ad network prohibits this kinda low-quality traffic and this can affect the search rankings.
Secondly, getting too much traffic from bad sites indicates of getting penalized by Google penguin and everyone just want to beat Google penguin. So, you should stop this traffic to be safe from Google Penguin and Adsense.
Detecting The Traffic Coming From Bad Sites
I think you're using Google Analytics as your traffic counter. The reason it is the most popular tool which gives and accurate and huge data about our visitors. And by the use of this tool, we can detect this kind of traffic.
First of all, you will see the increase in traffic and you will be happy to see the traffic because everybody needs it. My recommendation, whenever you will see the traffic increase then you should check the traffic sources which informs you from where the traffic is coming from.
If you see more than 50% increase in referral traffic then any good or bad site is sending traffic to you and if the direct traffic is increased more than 50% than you might be receiving traffic from bots. Well, let's come to our point. Our point is all about referral traffic here so if that referral percentage is increased then you should check from which sites the traffic is coming. To check which site is sending referral traffic then Go to Google Analytics >> Traffic Sources >> Referrals.
There you will see those all sites from where you're getting referral traffic. So, check which site is sending the highest traffic to you. You've to check only those sites which are sending high traffic to you as you can see in the main image that sites are sending more than 40k visits.
After getting the domain of those sites, visit each site and check them manually.
Below, I've listed some points which you've to check on those sites. If they are having these sites then make sure they are bad sites.
- Pornographic / Nudity Content
- Copied content
- Pirated Material
- Hacking Content
- Based On Black Hate SEO
- And all other illegal things.
There are the several reasons that they're sending huge traffic to you without letting you know about that. I'm going to tell you those reasons which are present in my mind.
Enemies Send Bad Traffic To Harm Your Site
The first reason is that your enemy maybe is the owner of that bad site and he wants to harm your site and your hard work. You might know that it is your enemies site which is sending traffic to you.
Your enemy might have added the banner or link of your site in his bad site or he might have redirected all the traffic to your site just for wasting your efforts and harming your site. An enemy can do any action just to harm you.
Mistakenly Bought Ad Slot On Bad Site
This is the another and foolish reason and you might be laughing at this that you might have bought the ad slot on bad site by which you're receiving this traffic.
Beginners are new into this world and they don't know that the action which is being done is correct for the career or wrong. And you can be the beginner to do this foolish mistake. Well, We're the human being, we do mistakes and there is no human in the world who has not done the mistake yet.
Bad Site Is Using Your Theme With The Credit Link In Attribution
This is the third reason that you might have created and published the theme for free on your site and you also added the credit link in attribute with the script that if someone removes the link then the traffic of that blog will redirect to your site and that theme is being used by that bad site and he also has removed the credit link and you're getting all the traffic.
One thing I would like to tell you that don't add such credit links in attributions because according to new policies of Google SEO you'll be penalized.
How To Stop Receiving Traffic From Bad Sites
Now after the long story let's come to our main point that is about blocking the traffic coming from any specific domain or bad sites.
Recently, I got JavaScript and PHP script from StackOverflow which I'm going to share below. Before I give you the scripts with a tutorial, first of all, let me tell you that how this works.
How did These Scripts work To Block Referral Traffic?
There is not any history behind these scripts but just for knowledge and clearing the topic I would inform you that how they work. First of all, we'll add this script to our site below <head> section. They are two required fields in the script which we've to edit or fill.
The first one is the domain name of any bad site from where the traffic will be blocked and the second one is the URL of any testing web page where all the traffic will be redirected. Now, when you will receive the traffic that script will detect that domain and send or redirect that traffic to the testing web page or any other URL which you give.
Copy The JavaScript or PHP Script Which is Being Supported By Your Platform
Paste It Below <head> [ So that browser read this first and script do the quick action ]
Fill URLs From Where To Traffic Should Be Blocked or Bad Site's URL.
Fill URL Where All The Traffic Should Be Redirected!
Save It!
JavaScript
<script type='text/javascript'>
var block = ['url1', 'url2'];
for (var b = block.length; b--;) {
if (document.referrer.match(block[b]))
window.location = "http://google.com/";
}
</script>
PHP
$block = ['url1', 'url2'];
foreach ($block as $value) {
if ($_SERVER['HTTP_REFERRER'] == $value)
header('Location: http://google.com/');
}
Conclusion:
So, friends, that was how we can block the traffic coming from any domain, site or bad site. Actually, This happened with me and I got the solution and also shared with you here. We can also do this with a .httaccess file but I think these are easiest methods.
If you're facing the problem or want to ask any question then feel free to ask in comments and also share your views about this. Sign up here for free to get informed about the latest ideas and also follow us on social networks. Take Care!
Post A Comment:
0 comments:
Thanks For Your Commenting