Skip Navigation

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

Problem:
If you're experiencing issues with your WPML license when deploying from a staging to a live environment, such as needing to refresh to remove the development banner, we can help.
Solution:
We recommend setting a different site key for each environment. This approach helps in managing the WPML license effectively across different setups. For detailed instructions on how to automate WPML registration using PHP for easy transitions between production, development, and staging environments, please visit this link.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at WPML 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 0 voices.

Last updated by Andrey 1 week ago.

Assisted by: Andrey.

Author Posts
April 2, 2025 at 12:22 pm #16886954

matthiasR-28

Background of the issue:
I have a live site and a staging site at hidden link. When we deploy the staging site to live, we encounter issues with our WPML license.

Symptoms:
We always need to refresh to remove the development banner at the bottom after deploying staging to live.

Questions:
How can we fix the issue with the WPML license when deploying from staging to live?

April 2, 2025 at 1:20 pm #16887288

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

You can set a different site key for each environment. Please refer to this link for more information: https://wpml.org/faq/automatic-wpml-registration-using-php-for-easy-moves-between-production-development-and-staging/