I developed this plugin http://wordpress.org/extend/plugins/wp-sentinel .
It’s a security system and one of its features is to auto ban ip addresses upon attacks (XSS, RFI, SQL injections, ecc).
If an ip is banned, in the “init” hook of WordPress, i just show a message and “die” instead showing the blog entries.
The problem is that, with wp-super-cache enabled, the ban message (not bound to any page, could come out in every page the banned address is trying to surf) gets cached so, from that moment, every user will see a ban message on that page instead the normal blog.
Is there any way to “interact” with wp-super-cache to let it know to not put in its cache upon certain conditions (upon banning) ?
- The topic ‘[Plugin: WP Super Cache] How to make this work :)’ is closed to new replies.