Home›Support›English Support›[Resolved] I'm trying to connect a website, yet when inserting the key from the development site in the produc...
[Resolved] I'm trying to connect a website, yet when inserting the key from the development site in the produc...
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to connect a staging site to the main website using the same site key for WPML, but encounters an error message 'Fehler beim Verbinden der Websites' (error connecting website) when inserting the key from the development site into the production site. Solution: 1. Each site must have its unique site key. If you're experiencing this issue, follow these steps: - Visit https://wpml.org/account/websites/ - If the site URL is already registered, delete it from the list. - Re-enter the site URL to generate a new site key. - Click "Show key" and copy it. - Enter the key under Plugins > Install > Commercial (tab) to re-register WPML. If WPML is still registered there, de-register it first. 2. If the staging site remains in use, use the "Copy" option on the migration banner to ensure each site uses a proper key. 3. Go to WPML > Support > Installer Support and click "Check now" on each site, then send screenshots of both reports.
If this solution does not resolve your issue or seems outdated, we 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. If the problem persists, please open a new support ticket.
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.
Background of the issue:
I am trying to connect the staging site to the main website by copying the key from translation management/connected websites on the development site and inserting it in the appropriate field in translation management/connected website of the production website, to make sure that both use the same translation memory. The issue can be seen at hidden link.
Symptoms:
I get an error message: 'Fehler beim Verbinden der Websites' (error connecting website) when inserting the key from the development site in the production site.
Questions:
Why is the key from the development site not being accepted on the production site?
How can I ensure both sites use the same translation memory?
Actually I un-registered and re-registered the staging and the production site.
But in addition, the WPML interface asks me to "connect" the staging site to the production site in order to ensure that both use the same translation memory.
And doing so (copying the key from the staging site and inserting it at the production site) fails reproducibly with a big fat error.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Each site needs its proper key on wpml.org - you can not use the same site key between different site domains or even the same site URLs if the server or domain has changed in the meantime.
On the migration banner, it is advisable to use the "Copy" option in case the staging remains in use.
I DID register the sites individually. So this is not the issue. Still, connecting the staging site to the production site fails. Please look into this. I provided a screencast with the original bug report. I don't get to see a "migration" banner at all. This is a separate issue. Please carefully re-read what I wrote above.
I updated all packages, unregistered and re-registered the site and did a couple of other things on the server and for whatever reason, the issue went away and the migration key was finally accepted.