How To Kill AutoBot Visitor

in blog •  6 years ago 

Today I was hit by BOT AUTO VISITOR from one of the blogs.

Safety?

Yes

Angry?

Definitely

However, I responded with positive things.

Maybe people who have a blog are jealous of the presence of new blogs. Or maybe he feels HOT, because it creates an application but it is not in place.

This is proof of the blog affected by BOT AUTO VISITOR

Very ironic, friend.

I wish I had the desire to repay all of that!?!

Instead of replying to it, it's better for us to find a solution, friend, right ??

How to ?

Let us peel thoroughly.

The first thing we do is block the address of the BOT owner by means of Blog Settings -> Search Preperences ---> Edit Custom Robot.txt as below:

User-agent: Mediapartners-Google

Disallow:

User-agent: NinjaBot

Disallow: /

User-agent: Mediapartners-Google *

Disallow: /

User-agent: Googlebot-Image

Disallow: /

User-agent: Adsbot-Google

Disallow: /

User-agent: Googlebot-Mobile

Disallow: /

User-agent: *

Disallow: / search

//

Sitemap: https: // "Fill With Friend Blog Address" /sitemap.xml

Save Settings.

Then, enter the script below with the Theme section -> Edit HTML -> CTRL + F search for

// <! [CDATA [
var allow = ['google', 'facebook', 'bing', 'yandex', 'yahoo', 'geevv', 'Add the crawler itself ...', etc.];
var valid = false;
if (! document.referrer == '') {
for (var i = allow.length; i -;) {
if (document.referrer.toLowerCase (). includes (allow [i] .toLowerCase ())) {
valid = true;
break;
}
}
if (valid == false) {
window.location = document.referrer; // Navigate to Web Jingling if it doesn't match the traffic source above
}
} //]]>
</ script>

Save Settings.

After all the above methods are applied. Please test friends by using BOT AUTO VISITOR.

Hopefully this discussion is useful. If there are questions, suggestions and criticisms. Please comment in the comments column provided or can visit our FansPage.

Regards,

Azrael Community

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @azraelcommunity! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!