• Resolved guymcd12

    (@guymcd12)


    I am using Age Gate with a minimum possible configuration. It is set up to display buttons, redirect on failure to a landing page on the site and the method is set to ‘No Caching’.

    The behavior is; when clicking ‘No’ the redirect fails, the default ‘You are not old enough’ message appears and is then immediately replaced with the original verification page. Clicking ‘Yes’ after clicking ‘No’ results in being redirected to the failure page. If ‘Yes’ is clicked first, access is granted but only if it is click first. Turning off ‘Rechallenge’ shows the landing page URL in the address bar but does not display the actual page, instead the default ‘You are not old enough’ page displays.

    • This topic was modified 7 months, 1 week ago by guymcd12.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @guymcd12,

    Having tested this I cannot reproduce any issue, and looking at your scenario, this is what is happening (i think)

    when clicking ‘No’ the redirect fails, the default ‘You are not old enough’ message appears and is then immediately replaced with the original verification page

    This is the redirect happening, as it’s done via javascript there’ll always be a slight delay which is why you see the error message – but it then disappears as the redirect has happened.

    Clicking ‘Yes’ after clicking ‘No’ results in being redirected to the failure page

    This is not right, when you a clicking yes here you are already on the failure page, so that’s that is shown after clicking “yes”.

    From what I can tell the “rechallenge” setting isn’t actually affecting anything here – expect not showing the form, as expected.

    So, what you need to do if you failure page is internal and you are restricting all content in the setting is set the /goodbye page to not be age gated. You can find that setting in the page itself as in the screenshot attached

    Hope this helps

    Thanks
    Phil

    Thread Starter guymcd12

    (@guymcd12)

    Thanks Phil!

    You were exactly correct, the plugin works as intended as long as it’s used as intended instead of the way I assume it’s intended ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirect is really broken’ is closed to new replies.