• Resolved alexandrost

    (@alexandrost)


    Are there any news/update about compatibility with WPML plugin? Site Kit still disconnecting when changing backend to a language other than English

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out. We’re still working on this and hope to have an update soon. In the meantime you can keep watch of the below GitHub issue:
    https://github.com/google/site-kit-wp/issues/2118

    We can also keep you updated here once we have any further information.

    @alexandrost just providing an update that we’re working with the WPML team to get this resolved. We’ll update you as soon as the fix is available.

    @alexandrost another quick update that WPML will be releasing a fix for this in their next version 4.4.5. We’ll still follow up on your topic when it is out.

    @alexandrost WPML version 4.4.5 is available with the fix for this issue.

    Could you update and let us know if the issue is resolved for you?

    I installed WPML version 4.4.5 and Site Kit continues to have the problem of disconnecting credentials!

    In my opinion it does not depend on WPML, but on the fact that Site Kit does not record all the variables concerning the connection with the Google account (example: https://www.example.com/en/ + https://www.example.com/de/ + https://www.example.com/fr/ + etc.). Whenever the language is changed, the connection must be restored as Site Kit no longer recognizes the authorization given by the Google account. In practice, the problem arises from the fact that the connection registers the URL to which authorization is given including the linguistic extension (…/en/, …/de/, …/fr/, etc.). From here, after changing the language, the URL changes and Site Kit no longer recognizes the credentials for the connection. This forces the user to have to log back in every time he wants to analyze the data. To make Site Kit work on a site with WPML it is therefore necessary to modify the way to authorize the URL, making sure that this is provided only on the domain (www.example.com), without linguistic extension. In this way, whatever linguistic extension you want to use, Site Kit will always and only recognize the domain and can therefore work in any case.

    I hope these guidelines will help insiders get the Site Kit plugin to work properly with any language.

    We are all looking forward to a solution.

    @stiledivitasa thanks for your feedback. Sit Kit currently works the way you describe. We only look at the root domain in Site Kit when everything is working correctly. We’ve provided a way for language plugins to ensure this remains set properly when they implement their functionality (Github issue).

    We are still collaborating with the WPML team on one outstanding issue. It seems when one selects All languages from the admin bar one can get disconnected (video). They’ve provided a sample solution here, and we’ll keep this topic updated when it is available in WPML.

    In my testing, I am no longer experiencing the issue you describe above when selecting a specific language from the admin and with the language subdirectory settings in WPML 4.4.5. If you are still experiencing this issue, could you open a separate support topic or add to the Github issue with a video of your experience so we can investigate further?

    WPML version 4.4.7 has just been released with the remaining fix to address the issue with the “All languages” admin bar setting. Could you update at your convenience and let us know if the issue is resolved for you?

    @alexandrost since we have not heard from you, I am marking your topic as resolved. Please feel free to open a new support topic if you have further questions.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WPML compatibility’ is closed to new replies.