Skip Navigation

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.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 0 replies, has 0 voices.

Last updated by Kor 5 days, 8 hours ago.

Assisted by: Kor.

Author Posts
March 25, 2025 at 8:43 am #16855232
March 26, 2025 at 1:10 am #16860269

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

Also, please update all WPML plugins to the latest version in WP > Plugins > Add new > Commercial Tab.

March 26, 2025 at 3:09 pm #16863674

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I can see the issue here hidden link . it says your sitekey does not match your domain name.

Please go to your account dashboard here https://wpml.org/account/sites/ and register a new sitekey for your domain. Then, replace the sitekey in WP > Plugins > Add New > Commercial Tab.

March 27, 2025 at 1:22 pm #16868678

derickN-2

Unfortunately, that didn't help.

We tried to Unregister and register the site again however, the error still persists.

Kindly refer to the attached screenshot for more info.

Thanks!

wpml-staging.JPG
wpml-license.JPG
March 27, 2025 at 4:43 pm #16869800

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I've tried several troubleshooting methods and the issue persists. Please allow me to escalate this to our 2nd Tier Support for further investigation.

March 31, 2025 at 5:32 pm #16880457

derickN-2

Thank you!

March 31, 2025 at 5:33 pm #16880458

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. We're still waiting for your FTP access. The one you provided earlier did not work.

April 1, 2025 at 2:16 pm #16883398

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've shared your credentials with our 2nd Tier Support.

April 2, 2025 at 2:16 pm #16887550

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. Please go through the feedback from our 2nd Tier Support below.

We've been investigating why the WPML-related functionality isn't working correctly on your staging site, and it looks like the issue centers around the REST API requests being redirected unexpectedly.

Here’s a summary of what we found:

- A request to one of the WPML REST endpoints (/wp-json/wpml/tm/v1/ams/register_manager/) returns a 302 redirect to itself, which likely causes a loop and prevents proper execution.
- Other REST API calls, such as the one made when clicking "Check for Updates" on the WPML plugin, are also being affected. For example, the request to /wp-json/wpml/v1/updates is being redirected (301) to a version with a trailing slash (/updates/), which results in a 404 Not Found error.
- We suspect this is due to a combination of:
- The site being behind Cloudflare, and
- Custom redirect rules in the .htaccess file or server-level configuration, which may be interfering with how REST requests are handled.

To rule out the obvious, we temporarily replaced the custom .htaccess and wp-config.php files with standard versions, but the issue persisted — which suggests that these customizations may not be the direct cause.

There is also a Kinsta MU-plugin in place, which might be playing a role, though we haven’t confirmed that.

### Recommendation:
At this point, we suggest contacting Kinsta support to review how the server is handling REST API requests — particularly in relation to redirects, Cloudflare, and REST route rewrites — since the issue appears to be rooted in the server environment rather than WPML itself.