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 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

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

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by Paola Mendiburu 1 week, 2 days ago.

Assisted by: Paola Mendiburu.

Author Posts
June 12, 2025 at 2:11 pm

filiosN

Background of the issue:
I am trying to improve the performance of my website when WPML is enabled. When accessing one of the product pages, I noticed a spike in usage. Tracing the process showed the following query: SELECT ... FROM wpml_translations, which is executed dozens of times per second. This causes a significant load on Redis. Disabling the WPML translation plugins speeds up the loading of all pages significantly. Here is the link to a page where the issue can be seen: hidden link.

Symptoms:
There is a performance issue with the website when WPML is enabled, resulting in 127 queries on the database for a simple product, which is more than expected.

Questions:
How can I reduce the number of queries executed by WPML?
What steps can I take to improve website performance with WPML enabled?

June 12, 2025 at 2:52 pm
June 12, 2025 at 2:53 pm #17130681

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Hi there!

I am getting 404 error on staging site.

Please do the following test:
- change to parent theme and then to a default theme to see the difference
- deactivate plugins 1 by 1 to see the difference

Please let me know what you find.

June 13, 2025 at 6:23 am #17131804

filiosN

Hello

we have created the staging site. We changed the themes but the issue is the same. More than 100 database queries from sitepress and 60 from wpml-string-translation

You can check as well

hidden link

the credentials to login are the same as before for the live site

June 16, 2025 at 8:40 am #17137477

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

I am trying to deactivate plugins but it is not posible?

Please can you try to deactivate all plugins and leave only WooCommerce and WPML ones?

Then activate one by on to see where is the difference.