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.

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

Supporter timezone: Europe/Zagreb (GMT+02:00)

Tagged: 

This topic contains 4 replies, has 1 voice.

Last updated by lucianoc-4 1 day, 6 hours ago.

Assisted by: Bruno Kos.

Author Posts
June 30, 2025 at 4:07 pm #17185468

lucianoc-4

Background of the issue:
I am experiencing performance issues after switching my website to a multi-domain structure. The primary domain is surfcamp.it, and I have one WordPress installation serving three different domains for different languages. The server has 1GB RAM, PHP 8.3.22, and Redis caching enabled. Performance was acceptable in development with a subdirectory structure but became severe after switching to a multi-domain production setup. I previously opened a ticket about performance issues, but it was closed due to server issues with WPML. I am following documentation from WPML's website.

Symptoms:
Extremely slow page loads (15+ seconds) with approximately 1,500 database requests per page. The slowest queries are from WPML, specifically sitepress-multilingual-cms. I was also getting 'cURL error 6: Could not resolve host: ate.wpml.org' on certain pages, which seems like a license issue, but this issue seems to be resolved now.

Questions:
What WPML configuration optimizations can improve performance with our multi-domain setup?

June 30, 2025 at 9:05 pm #17186084

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.

Are you noticing any specific slow queries related to WPML on the frontend or backend of the site?

Please try the following troubleshooting steps after a full site backup {mandatory} and check if there is any difference in the results.

1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

2) On the Troubleshooting page, please click on the following options of the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables

3) Visit Settings >> Permalinks, resave the settings

Please try the workaround suggested in the following documentation to resolve the issue: cURL error 6: Could not resolve host: ate.wpml.org.

https://wpml.org/faq/wpml-plugin-cannot-connect-to-wpml-org/

--
Thanks!

Bigul

July 1, 2025 at 7:38 am #17186935

lucianoc-4

Hello Bigul,

Thanks for the troubleshooting steps - I have already tried them all but unfortunately the cleanup doesn't help so much.

Yesterday I had the cURL errors but it seems like they were caused by the issues that your servers had the last few days.

There isn't any particularly slow queries from WPML or sitepress_cms but there are many still related with WPML :
- I have 1109 queries only from sitepress_multilingual_cms
- many duplicates too like example : WPML_Term_Query_Filter->get_terms() is ran nearly 10 times

Any other suggestions ? or questions so we can dig deeper ?
Thanks

July 2, 2025 at 11:47 am #17192722

lucianoc-4

HI Any news ? we need urgently to solve this problem thanks for assistance

July 3, 2025 at 9:37 am #17196223

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

229 ms for this query might be acceptable for the backend call, given that WPML processes quite a lot of language information under the hood.

Can you please check the performance when:

- only WPML plugins are activated, as it will tell us if there is an interaction issue with other plugin
- theme is set to a WordPress default like Twenty Twenty as it will tell us if there is an interaction issue with your theme

If the issue is still there after these tests, would you be willing to provide me with WordPress credentials so I could investigate the issue directly?

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

I marked your next reply as private so that you can safely add credentials.

In order to reproduce, I would need to switch between domain per language and directories and observe the performance in the frontend and the backend?

Any particular URL I should be observing?