How to make Bad Behavior work with WordPress Advanced Cache 2 and WP Super Cache?

Recommended Videos

Cómo configurar WP Super Cache paso a paso
Cómo configurar WP Super Cache paso a paso
How To Make a WordPress Website with GoDaddy - UPDATED - 2019
How To Make a WordPress Website with GoDaddy - UPDATED - 2019
How To Make a WordPress Website 2019 | Step by Step | Tutorial for Beginners
How To Make a WordPress Website 2019 | Step by Step | Tutorial for Beginners
Analytics and AMP - How to Track ALL THE THINGS (AMP Conf 2018)
Analytics and AMP - How to Track ALL THE THINGS (AMP Conf 2018)
SETTING UP A WEB SERVER ON AWS - CS50 on Twitch, EP. 18
SETTING UP A WEB SERVER ON AWS - CS50 on Twitch, EP. 18

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):
if (! ($meta = unserialize(@file_get_contents($meta_pathname))) )
return;
  • Immediately after the above two lines, insert the following line:
require_once( ABSPATH . ‘wp-content/plugins/Bad-Behavior/bad-behavior-generic.php’);

That is all folks.Enjoy the protection of Bad Behavior for your cached wordpress pages.

Related Videos

Cómo configurar WP Super Cache paso a paso
Cómo configurar WP Super Cache paso a paso
How To Make a WordPress Website with GoDaddy - UPDATED - 2019
How To Make a WordPress Website with GoDaddy - UPDATED - 2019
How To Make a WordPress Website 2019 | Step by Step | Tutorial for Beginners
How To Make a WordPress Website 2019 | Step by Step | Tutorial for Beginners
Analytics and AMP - How to Track ALL THE THINGS (AMP Conf 2018)
Analytics and AMP - How to Track ALL THE THINGS (AMP Conf 2018)
SETTING UP A WEB SERVER ON AWS - CS50 on Twitch, EP. 18
SETTING UP A WEB SERVER ON AWS - CS50 on Twitch, EP. 18
0 comments on “How to make Bad Behavior work with WordPress Advanced Cache 2 and WP Super Cache?
  1. […] You can also make Bad Behavior to protect your wordpress pages cached with WordPress Advanced Cache 2 and WP Super Cac…. […]

Leave a Reply

Your email address will not be published. Required fields are marked *

*