• Hi,

    We have our shop pages restricted to 21+. If the user clicks on the shop and agrees that they are over 21, it redirects them back to the homepage and then they can click on the shop again and it will let them pass.

    It used to take the user right to the shop page they clicked on – after they confirm their age. I’m not sure how to fix this.

    Thank you!
    Brendon

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bcornwell

    (@bcornwell)

    Any help would be greatly appreciated. Our site is still redirecting to home after selecting that the user is 21.

    Plugin Author Phil

    (@philsbury)

    Hi @bcornwell,

    Sorry for the slow reply, been a bit swamped.

    This issue is present sometimes – essentially we had to change how redirections happened for security reasons and we try to match the url passed to a content page. If it can’t find it for whatever reason, it send you to the home page.

    The architecture of the current version led to this slightly janky decision.

    But there are two options to sort it out. The simplest is to switch Age Gate to the Javascript version in the advanced settings. That stops there being and redirection required and should be good to go.

    You you need to stick to the PHP version, you could install the dev build of V3 that does the redirect differently. While it’s dev, it’s pretty much ready to go – I’ve just not had the chance to write update guides/docs for it yet.

    I’m hoping v3 will become the stable in the next few weeks once docs etc have been updated!

    Thanks
    Phil

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Agegate redirects to home’ is closed to new replies.