• Resolved rtnlsltn

    (@rtnlsltn)


    Is there a way to exclude a plugin from caching? My site uses an age verification form before a user can access the site, but with caching the user is not allowed to pass.

Viewing 4 replies - 1 through 4 (of 4 total)
  • If the age verification form redirects to a new URL, then add a fragment from that URL to the “Rejected URL Strings” setting on the Advanced Settings page.

    Otherwise, you could define the string “DONOTCACHEPAGE” when the age verification page is shown. You might have to add it to that plugin (but your change will be overwritten by updates to the plugin) or an mu-plugin if you can hook into the age verification plugin in some way.

    Thread Starter rtnlsltn

    (@rtnlsltn)

    Is the only requirement for “DONOTCACHEPAGE” to exist in text for the page not to be cached? I’m unclear of the proper usage here. The verification is an overlay without a redirect. I’m using Age Gate

    Sorry, I mean that it’s a constant, “DONOTCACHEPAGE” that the age verification plugin has to set.

    Did you see this FAQ from their site? Have you tried JavaScript mode?

    I can’t get past the Age Gate / The Age Gate only worked once

    The most likely cause for this is caching on your site either via a plugin or your hosting provider. If the Age Gate appears stuck try using the JavaScript mode in the advanced tab and clear any caches.

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hi there, @rtnlsltn,

    Do you have updates about that, or do you need more information? We usually close inactive threads after one week of no movement, but we want to make sure we’re all set before marking it as solved. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude plugin?’ is closed to new replies.