Skip to content
vendeeglobe edited this page Jul 8, 2026 · 3 revisions

Frequently Asked Questions

Q: I have been blocked by Bad Behavior! What do I do?

A: In extremely rare circumstances, Bad Behavior may block actual human visitors. Bad Behavior was designed to target robots, not people. If this happens, the profile presented by your browser matched that seen from actual malicious robots. In some cases, this is caused by over-aggressive personal firewall/browser privacy software. In other cases, this is caused by improperly configured Web proxy server software.

First, make a note of the technical support key and e-mail address shown on the error page. Then click the link to “fix it yourself” for suggestions on how you may be able to resolve the problem.

If you continue to have trouble, contact the e-mail address on the error page and be sure to provide the technical support key. This will allow the site administrator to tell you what you need to do to resolve the problem.

Q: Will Bad Behavior cause my site to load more slowly?

A: Maybe by a few milliseconds, but you won’t notice it. Bad Behavior has been split into several PHP files so that only the particular checks needed to analyze a given HTTP request are loaded (lazy loading). This speeds up execution time over the usual approach of putting everything in a single PHP file. Bad Behavior has been tested on high-traffic (100,000+ pageviews per day) sites where any slowdown would be noticed immediately, and passed these tests with flying colors.

Q: Will Bad Behavior reduce my site’s bandwidth usage?

A: Absolutely! This is one of the reasons for Bad Behavior’s existence. By preventing spambots and other malicious bots from ever accessing any of your pages, your bandwidth usage and server load will drop significantly. How much depends on how many malicious bots visit your site regularly. On higher traffic sites which pay a premium for bandwidth or CPU time, this may well decrease your web hosting bill.

Q: Does Bad Behavior block search engines such as Google?

A: No. Bad Behavior permits search engines which respect robots.txt and do not make excessive numbers of requests within a short time period. Google, Yahoo, Bing and most other search engine crawlers do not trigger Bad Behavior. If you notice that a search engine crawler has been banned by Bad Behavior, you can be certain that it was wasting your resources, not obeying robots.txt, or both.

Q: A spammer got past Bad Behavior! What now?

A: Bad Behavior targets robots which leave spam on blogs, forums, and other PHP-based software. If a spambot was able to post successfully, please check the following first.

Is Bad Behavior properly installed and enabled? I have received many reports of spammers getting past Bad Behavior, but upon investigation it turned out that Bad Behavior had been disabled or not installed properly.

If the above did not solve your problem, then please turn on verbose logging, wait for the spammer to post once more, and then copy the Bad Behavior verbose log entries matching the spammer’s IP address. Please report this on GitHub Issues along with the log entry details.

Q: I don't use WordPress or MediaWiki; can I still use Bad Behavior?

A: Yes! As part of Bad Behavior’s modular 2.3.0+ design, we have provided a GenericAdapter out of the box, and a simple BadBehaviour\Core\HostAdapterInterface that allows you to easily port Bad Behavior to virtually any PHP-based blog, forum, wiki or CMS. Check out the Writing a Custom Adapter guide for instructions.

Clone this wiki locally