How to block bot traffic for Blogger
Hello Guys and welcome to Wolv Themes Our Tutorial today is about How to block bot traffic for Blogger.
Benefits :-
- Block the bot traffic.
- Protects from getting banned.
Let's Start
How to block bot traffic :-
Step 1 :- Go to Blogger's
dashboard and click theme.
Step 2 :- Click the arrow down icon next to the 'customize'
button.
Step 3 :- Click Edit Html.
Step 4 :- Click on any word then Press CTRL+ F
and type in the search form </body>.
Step 5 :- Copy the provided below code and paste it just before </body>.
<script type='text/javascript'>
var block = ['https://www.unlibot.com'];
for (var b = block.length; b–;) {
if (document.referrer.match (block [b]))
window.location = "https://google.com/";
}
</script>
</script>
4 comments
Hope it was helpful