Forums

WP Super Cache conflicts with WP-BAN (8 posts)

  1. kwdavids
    Member
    Posted 10 months ago #

    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?

  2. tony001
    Member
    Posted 2 months ago #

    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!

  3. donncha
    Member
    Posted 2 months ago #

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

  4. GamerZ
    Member
    Posted 2 months ago #

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

  5. archon810
    Member
    Posted 2 months ago #

    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?

  6. GamerZ
    Member
    Posted 2 months ago #

    Sorry can't think of it right now

  7. masino_sinaga
    Member
    Posted 2 months ago #

    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]

  8. donncha
    Member
    Posted 2 months ago #

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

Reply

You must log in to post.

About this Topic