Title: Plugin not working with Wpenging cache?
Last modified: August 20, 2016

---

# Plugin not working with Wpenging cache?

 *  Resolved [mmatty](https://wordpress.org/support/users/mmatty/)
 * (@mmatty)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-wpenging-cache/)
 * Hi,
    I’ve tried to use the plugin with my wpEnging-hosted site, and it doesn’t
   work I’m guessing it has to do with their aggressive cache. is there some way
   around it?
 * thanks!
 * [http://wordpress.org/extend/plugins/password-protected/](http://wordpress.org/extend/plugins/password-protected/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Ben Huson](https://wordpress.org/support/users/husobj/)
 * (@husobj)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-wpenging-cache/#post-3437443)
 * It is most likely to do with their aggressive caching.
 * I current don;t know of a way to resolve this, but it might be worth contacting
   WPEngine support to see if there is a way to disable their page caching in certain
   scenarios.
 *  [Ben Huson](https://wordpress.org/support/users/husobj/)
 * (@husobj)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-wpenging-cache/#post-3437672)
 * I have been in contact with WP Engine and due to the way their hosting caches
   pages it is not possibly to implement password protection robustly.
 * They have suggested that I could implement a JavaScript layer to do redirect 
   non logged in users away from a protected page but a user could obviously get
   round this by disabling JavaScript in their browser.
 * They have shown me how I can detect wether a site is hosted with WP Engine, so
   what I will do is implement this JavaScript detection but also show a message
   to WP Engine users in the admin to make them aware that due to their hosting 
   the plugin will not robustly protect their site. I’ll also flag this up in the
   read me.
 * Kind regards
 * Ben
 *  Thread Starter [mmatty](https://wordpress.org/support/users/mmatty/)
 * (@mmatty)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-wpenging-cache/#post-3437674)
 * That sounds great. We don’t need a robust, military-grade protection. Just a 
   little hurdle..
    Do you have any idea when you’ll be able to implement it? Anything
   I can do to help out?
 *  [Ben Huson](https://wordpress.org/support/users/husobj/)
 * (@husobj)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-wpenging-cache/#post-3437675)
 * I might have chance this weekend?
 * I will post updates here:
    [https://github.com/benhuson/password-protected/issues/19](https://github.com/benhuson/password-protected/issues/19)
 *  Thread Starter [mmatty](https://wordpress.org/support/users/mmatty/)
 * (@mmatty)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-wpenging-cache/#post-3437676)
 * is it possible to commission you to do it super-fast?
    [btw, I couldn’t test 
   it, but we’re going to use it with woocommerce, and I’m assuming it will not 
   conflict with the cart and with people registering-when-checking-out. Do you 
   see any problem with working with them together?]
 *  [Ben Huson](https://wordpress.org/support/users/husobj/)
 * (@husobj)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-wpenging-cache/#post-3437677)
 * It shouldn’t conflict.
    It would just be a bit of Javascript on each page that
   checks if a cookie has been set by the login.
 * I’d emphasise again that this is only a very superficial fix. If a user disables
   javascript they’ll be able to see pages, won’t be asked to login. And the JavaScript
   will only check that the cookie has been set (ie logged in) – it won’t do any
   comprehensive tests to check the cookie was set by the current password (ie if
   you change the password in the admin current users won;t be logged out until 
   the cookie expires).
 * I don’t have any time available until the weekend but [email me](http://www.benhuson.co.uk/contact/)
   if you’d like me to look at it then.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Plugin not working with Wpenging cache?’ is closed to new replies.

 * ![](https://ps.w.org/password-protected/assets/icon-128x128.gif?rev=2824217)
 * [Password Protected — Lock Entire Site, Pages, Posts, Categories, and Partial Content](https://wordpress.org/plugins/password-protected/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/password-protected/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/password-protected/)
 * [Active Topics](https://wordpress.org/support/plugin/password-protected/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/password-protected/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/password-protected/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [wpengine](https://wordpress.org/support/topic-tag/wpengine/)

 * 6 replies
 * 2 participants
 * Last reply from: [Ben Huson](https://wordpress.org/support/users/husobj/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-wpenging-cache/#post-3437677)
 * Status: resolved