• Resolved robwent

    (@robwent)


    Hi,

    Thanks for the great plugin!

    I’ve noticed a conflict with WPML and their new automatic translation features.

    When you try and check their translation management > tools tab, it makes a request through the frontend of the site with some json parameters which contain an email address.

    https://example.com/?wpml-app=ate-widget&ver=4.6.8

    As the email address gets encoded it breaks the json and prevents the plugin from contacting their website, resulting in an error.

    Are there any filters or hooks available so we can exclude any requests by the url parameters?

    • This topic was modified 10 months, 3 weeks ago by robwent.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ironikus

    (@ironikus)

    Hey @robwent, I’ve just added a new advanced setting called “Exclude URL parameters from protection” – You can use it to exclude pages with certain query parameters from being encoded.

    In your specific case, you can simply add wpml-app to the input field.

    If you want to add multiple ones, you can do so by comma-separating them.

    This feature is available in version 2.2.0

    Thread Starter robwent

    (@robwent)

    That’s awesome.

    Confirm it fixes the wpml issue.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude page by query string to fix WPML compatibility’ is closed to new replies.