Title: cache problem
Last modified: September 7, 2021

---

# cache problem

 *  Resolved [almaimoune](https://wordpress.org/support/users/almaimoune/)
 * (@almaimoune)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cache-problem-37/)
 * Hi,
 * I have a cache problem (I think) with the content control plugin on my website.
   When a user visits a restricted page (or article) before logging in, even if 
   they have the role of the user who should be able to access the page (customer
   role in my case), there is always the restriction .
 * But if the user logs in directly when arriving on the website before going to
   the restricted page there is no problem if he is the customer role.
 * Thank you for helping me, this is urgent.
 * Cheers,
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache-problem-37%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [mark l chaves](https://wordpress.org/support/users/mlchaves/)
 * (@mlchaves)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cache-problem-37/#post-14849519)
 * Hello [@almaimoune](https://wordpress.org/support/users/almaimoune/),
 * > I have a cache problem (I think) with the content control plugin on my website.
 * Have you tested with your caching disabled on your WordPress site, hosting provider,
   and CDN provider? If so, is the issue you saw still happening?
 * > When a user visits a restricted page (or article) before logging in, even if
   > they have the role of the user who should be able to access the page (customer
   > role in my case), there is always the restriction.
 * That’s correct. If there’s a **logged-in** restriction, your visitor must log
   in for the restriction to go away (depending on what roles you’ve selected of
   course).
 * If you have a logged-in restriction and you’re **not** logged in, you’ll see 
   the restriction. That’s the basic design of the plugin.
 * The restriction will either be a **redirect** or a **denial message** depending
   on what you set up.
 * > But if the user logs in directly when arriving on the website before going 
   > to the restricted page there is no problem if he is the customer role.
 * That’s also expected as you’ve mentioned.
 * Can you let us know:
 * 1) What you **expect** the plugin to do (i.e., the use case) for your site
 * 2) The exact **issue** you are seeing (details and screengrabs are helpful)
 * 3) The steps to **reproduce** your issue
 * Thanks so much 🙂
 * Mark
    -  This reply was modified 4 years, 8 months ago by [mark l chaves](https://wordpress.org/support/users/mlchaves/).
      Reason: Typo and clarification edits
 *  Thread Starter [almaimoune](https://wordpress.org/support/users/almaimoune/)
 * (@almaimoune)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cache-problem-37/#post-14863777)
 * Hi,
    Problem resolved by deactivated a cache plugin!
 * Thanks for the support!

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

The topic ‘cache problem’ is closed to new replies.

 * ![](https://ps.w.org/content-control/assets/icon-256x256.gif?rev=2968535)
 * [Content Control - The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More](https://wordpress.org/plugins/content-control/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-control/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-control/)
 * [Active Topics](https://wordpress.org/support/plugin/content-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-control/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [almaimoune](https://wordpress.org/support/users/almaimoune/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/cache-problem-37/#post-14863777)
 * Status: resolved