Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 1 reply, has 0 voices.

Last updated by Bobby 8 months, 3 weeks ago.

Assisted by: Bobby.

Author Posts
August 19, 2025 at 8:45 pm #17332816

restekC

Background of the issue:
We are attempting to set up WPML on Pantheon, in a standard dev -> test -> live scenario, in which code is deployed upstream and database and assets are pulled down. We've followed the documentation references on both WPML and Pantheon, such as setting the license keys in wp-config, etc. We've attempted uninstalls and reinstalls, both with the installer plugin and manually, all with the same results.

Symptoms:
We are encountering issues in which WPML thinks our sites are not the original sites / inquires about copies. Also, WPML on live is referencing a URL that does not exist anywhere in our environments. At this point, we are unable to properly configure WPML for our sites.

Questions:
Is there a step-by-step process/formula that works to install WPML in a Dev, Test, and Live environment on Pantheon?

August 20, 2025 at 9:43 pm #17335573

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

When using WPML, there is a sitekey which let's you register WPML and each site needs it's own.

Then there is also a site ID which links your site to the cloud ID where your translations via automatic trnasltaion are stored.

In order to get this flow working you will need the following:

1. Create a separate WPML site key for each environment (Dev, Test, Live) and set it with the WPML installer constant. Doing this in wp-config.php overrides whatever is in the DB, so moving DBs between envs won’t break registration.

See here:
https://wpml.org/faq/automatic-wpml-registration-using-php-for-easy-moves-between-production-development-and-staging/

2. Finish the prompt in the dashboard

“Site moved or copied?”. Complete this wizard on each environment:

Dev & Test: choose “Yes / This is just a copy – original is still running.”

Live (after final promotion): choose “No / I changed the address of the site to this one.”

Let me know your results, please.

The topic ‘[Closed] Installation on Pantheon with Dev, Test, and Live environments’ is closed to new replies.