Bad Behavior is now compatible with WordPress Advanced Cache 2 and WP Super Cache plugins.Bad Behavior is a wordpress plugin that validates every request to pages on your wordpress blog/site.
Bad behaviour is a great tool for PHP based websites like wordpress.It not only protects the wordpress or other PHP based sites from spammy comments and trackbacks but bad behavior also protects the wordpress or other PHP based sites from spambots and other automated robots that will still be able to crawl those sites.
How to enable Bad Behavior to protect cached pages?
To enable Bad Behavior to protect cached pages, you will need to make the following changes to Advanced Cache / Super Cache wordpress plugins:
- Logon to the server where your wordpress blog/site is hosted
- Open wp-content/plugins/wp-cache/wp-cache-phase1.php
- Find the following two lines (at around line 34 WordPress Advanced Cache 2 plugin and line 56 in WP Super Cache plugin):
- Immediately after the above two lines, insert the following line:
That is all folks.Enjoy the protection of Bad Behavior for your cached wordpress pages.