WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache conflicts with WP-BAN

WP Super Cache conflicts with WP-BAN

  • When a banned visitor (WP-BAN) visits the site, whatever page they hit returns a ban message rather than the desired page. The ban message gets cached (WP Super Cache), then every subsequent visitor to that page gets the ban message too.

    How can I prevent ban messages from being cached?

Viewing 7 replies - 1 through 7 (of 7 total)
  • tony001

    @tony001

    Same problem here – working on latest 2.8
    This error does not appear to have been resolved and I suspect WP Super Cache is used quite frequently too so this does pose a problem.
    Otherwise looks like a good plugin!

    Known issue, I don’t use wp-ban so I can’t offer a work around or fix.

    A quick workaround would be to use htaccess to ban IPs, http://blamcast.net/articles/block-bots-hotlinking-ban-ip-htaccess

    archon810

    @archon810

    Bah, just found out I was banning a bunch of people because of this bug and didn’t even notice because I had the “disable wp-supercache for logged in users” option.

    GamerZ, perhaps a more proper solution can be found than htaccess?

    Sorry can’t think of it right now

    Masino Sinaga

    @masino_sinaga

    Hi,

    Go to your WP Super Cache Manager page from your admin panel, there is a directive just like this sentence below:

    Add here strings (not a filename) that forces a page not to be cached. For example, if your URLs include year and you dont want to cache last year posts, it's enough to specify the year, i.e. '/2004/'. WP-Cache will search if that string is part of the URI and if so, it will not cache that page.

    Have you tried to add the string related to your WP-Ban plugin to that directive above?

    [Sig removed. Please see forum guidelines. Mark]

    archon810 – unfortunately you probably shouldn’t use the wp-ban plugin at all if you’re using wp-super-cache

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP Super Cache conflicts with WP-BAN’ is closed to new replies.