How To Properly Block Bad Bots WordPress

This is the overall best way to block pretty much all bad bots, especially for WooCommerce. If you all of a sudden getting a lot of spam comments another good thing is to start using WordPress’ built in blocker which is inside Settings.

Simply go to Settings > Discussion and scroll down a little and “Disallowed Comment Keys” start adding things like “cialis”, “drugs” whatever your spammy content has. Even block IP addresses. Any questions comment below.


User-Agent: *
Disallow:

User-agent: *
crawl-delay: 5
Disallow: /wp-admin/
Disallow: /wp-login.php
Disallow: /wp-includes/
Disallow: /wp-json/
Disallow: /*add-to-cart=*
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /wp-admin/admin-ajax.php
User-agent: BLEXBot
Disallow: /
User-agent: Cliqzbot
Disallow: /
User-agent: Baiduspider
Disallow: /
User-agent: dotbot
Disallow: /
User-agent: BUbiNG
Disallow: /
User-agent: voltron
Disallow: /
User-agent: Yandex
Disallow: /

Why Blocking Bad Bots Is Vital To a Healthy Website

Blocking bad bots is essential for maintaining the health and security of a website. Bad bots, which are automated software applications running over the internet, can be harmful in numerous ways. First, they can scrape content from websites without permission, leading to unauthorized use or redistribution of proprietary information, which undermines the value of original content and can harm a site’s search engine ranking.

 

Secure Your Website Now

Second, bad bots can engage in malicious activities such as launching Distributed Denial of Service (DDoS) attacks, which can overwhelm a website with traffic, rendering it inaccessible to legitimate users. Such attacks not only disrupt business operations but can also damage a website’s reputation.

Moreover, bad bots can be used for spamming, posting irrelevant or harmful content, and artificially inflating traffic numbers, which can skew analytics and lead to misguided business decisions. They can also exploit vulnerabilities in website security to steal sensitive data, such as customer information, thereby compromising user privacy and trust. This is particularly critical for websites that handle financial transactions or sensitive personal data.

Don’t Bog Down Your Server Load

Furthermore, the presence of bad bots can lead to increased server load and bandwidth usage, resulting in higher operational costs and potentially slower website performance for legitimate users. This degraded user experience can lead to a higher bounce rate and lower user engagement.

To combat these issues, website administrators use various methods to block bad bots. These include implementing CAPTCHAs, which are challenges that are easy for humans to solve but difficult for bots, maintaining and updating a list of known bad IP addresses, and using advanced bot management solutions that can detect and block sophisticated bots.

Protect What You’ve Built

By effectively managing and blocking bad bots, website owners can protect their content, safeguard user data, ensure website availability, and maintain the integrity and performance of their online presence. Don’t let bad bots ruin your bandwidth, I hope I’ve helped you block bad bots. Any questions or concerns, comment below and let me know.

Slow Site? No problem!

Speed it up and get better Google Page Speed scores in seconds using NitroPack.
Guaranteed to blow your hair back. It’s that fast. Sign up for a free trial today!

Leave a Reply