Invitation Code Content Access - Troubleshooting - Codes Not Working Properly (Full-Page Cache Plugins Conflict)


Troubleshooting - Codes Not Working Properly (Conflict With Full-Page Cache Plugins)

Back to User Guide

Quick Read

If you are using a cache plugin, remember to exclude blocked content from caching

What Is This Issue

Codes don't work properly. For instance, one code might simply refresh the page, or it might unblock content blocked by other codes.


Possible Cause and Solution

This may happen when utilizing the Invitation Codes Content Access together with full-page cache plugins, such as WP Rocket, W3 Total Cache, WP Super Cache, or even built-in cache plugins from hostings.

That's because cached pages don't load necessary code checks, and instead just loads the version from the memory. 

Troubleshooting

Disable the cache plugins and. If the problem is fixed, the plugins surely the issue.

Fixing

It's necessary to  exclude blocked content from caching altogether. This process depends on each hosting company, but probably you will open a support ticket and send them the page URL to ask them to exclude it from the cache


How To Exclude URLs From Cache?

This depends exclusively on the cache plugin you use. Below we list the basic instructions and resources of the most famous services.

External Resources

These procedures depend on third-party plugins, so they might change at any time. If you feel this page is outdated, get in touch with us.

1) WP Rocket

  • Option 1) Directly from the page - Edit the desired page and review the WP Rocket Options metabox
  • Option 2) List of URLs - Head to the plugin settings →  Advanced Rules tab → Never cache (URLs) box. 
    Include the URLs relevant to the codes

Source: Exclude Pages from the Cache - WP Rocket Knowledge Base

2) W3 Total Cache

Head to Page Cache →  Advanced and add the pages to be excluded.
If there are many pages, the creators suggest considering adding define(‘DONOTCACHEPAGE’, true); to the template, which will prevent the page from being cached.

Sources:

3) WP Super Cache

Head to Advanced Tab Accepted Filenames & Rejected URIs section. Add the pages to be excluded.

[WP Super Cache] Support | WordPress.org


Get more information about the Invitation Code Content Access plugin for WordPress

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us