Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing an issue where a URL parameter

xdomain_data

appears when switching to a different language on their website.
Solution:
We recommend first ensuring that you have read our documentation on passing session data between languages in domains: Passing session data between languages in domains.

If you decide to disable this feature, please follow these steps:
1. Navigate to WPML -> Languages.
2. Go to the Language URL Format section.
3. Find the 'Pass session arguments between domains through the language switcher' option.
4. Disable this option.
Please ensure to backup your website and database before making these changes.

If this solution doesn't look relevant to your issue, please feel free to open a new support ticket in our support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 1 year, 6 months ago.

Assisted by: Mateus Getulio.

Author Posts
December 22, 2023 at 4:48 pm #15120515

jasminA-2

Hello, i need help everytime i switch to different language, i get this url parameter:

hidden link

xdomain_data, how can i remove this?

Thank you

December 22, 2023 at 8:46 pm #15121813

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your contact.

First of all, I want to ask you to ensure to have fully read our related doc, that explains a bit more about this feature: https://wpml.org/documentation/getting-started-guide/language-setup/passing-session-data-between-languages-in-domains/

Then, if you still want to disable it, just go to WPML -> Languages -> Language URL Format section, find the 'Pass session arguments between domains through the language switcher' option and disable it. Please backup the website and the database before trying it.

Looking forward to your reply. Thanks!

Regards,
Mateus.