How to block bot traffic for Blogger

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 :-

  1. Block the bot traffic.
  2. 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&#8211;;) {
if (document.referrer.match (block [b]))
window.location = "https://google.com/";
}
</script>
</script>

Rate this article

Frontend Developer and UX Designer

4 comments

  1. Thankyour for the post brother...
    1. Welcome !
      Hope it was helpful
  2. Amazing ❤️
  3. Nice tutorial