• Hi!

    The plugin direction works fine on my shop page when the user is in the English language.

    When I switch to a different language, after clicking “yes” the plugin directs me back to the home page and not to the shop page.

    I’m using TranslatePress plugin for the language switcher. Can you please help me how to fix this direction issue in the Hungarian language as well?

    Thanks a lot!

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

Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @kirakorok,

    Does TranslatePress create separate pages for each language like WPML/Polylang or is it all in one page?

    If it’s all in one page, I think what is happening is we look at the referrer URL (e.g. hu/shop) and try to tie it back to content on the site to prevent malicious redirection. If hu/shop doesn’t technically exist and is handled by som custom routing behind the scenes then Age Gate can’t find it so sends you to the home page. The way Age Gate currently handles this, it’s probably not something that is easily changed. The next major version should handle this which I’m hoping to get released either by the end of the year or very early next year – there’s a few bits still to do before I can even do a beta version.

    In the meantime, I’d maybe switch to the Javascript version of age gate in the advanced settings as this won’t do any redirects at all and just hides itself when you pass the age gate.

    Let me know if that suits

    Thanks
    Phil

Viewing 1 replies (of 1 total)
  • The topic ‘Redirection problem in a different language’ is closed to new replies.