• Resolved Jacky Lam

    (@jackylamhk)


    Simply Static Pro automatically redirects the user back to the main language. It seems to be an issue with how the WPML cookies and user current language is set, and the ssp_use_geo_redirect flag doesn’t respect WPML’s geo redirect settings.

    Workaround: manually override the flag –

    add_filter( 'ssp_use_geo_redirect', '__return_false' );

    It looks like someone else recently encountered this issue too: https://wpml.org/forums/topic/simply-static-pro-causes-redirection-issue/

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

    (@patrickposner)

    Hey @jackylamhk,

    thanks for your report!

    I think you misunderstood what the feature does, so I’m happy to clarify that for you.

    Simply Static Pro does not redirect to the main language.
    It redirects based on the browser language.

    That’s because WPML’s IP-based redirect doesn’t work without a permanent connection to WordPress (Ajax).

    As the IP-based redirect is also against GPDR, we decided to built our own solution that:

    A) works on a static site setup and
    B) respects the visitor’s privacy

    However, we disable the redirect as soon as you click on a different language within the WPML language toggle.

    You can see that in action on a customer site right here: https://www.dash.org/

    Cheers,
    Patrick

Viewing 1 replies (of 1 total)
  • The topic ‘WPML Integration Error – Auto Redirect’ is closed to new replies.