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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Bobby 3 weeks, 2 days ago.

Assisted by: Bobby.

Author Posts
November 5, 2024 at 2:31 pm #16367275

guyW-3

Background of the issue:
I tested a new website that we just launched on PageSpeed. We use WPML for multilingual support and each language has its domain: Hebrew website (hidden link) and English website (hidden link).

Symptoms:
The PageSpeed results for the Hebrew language, the default language, are very good, but the results for the English version are terrible.

Questions:
How can I improve the PageSpeed results for the English version of the website?

November 5, 2024 at 6:55 pm #16368844

Bobby
Supporter

Languages: English (English )

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

Hi there,

When I visit the site I can see the following loading times:

2.00s for Hebrew
6.76 for the English version.

Are these numbers similar to what you are getting?

One thing I noticed is the Chat VS widget populates in the Hebrew page but it does not in the EN translation.

How is this added, and is that behavior expected? It could cause some loading performance issues if the browser keeps trying to locate the widget but it returns back 404 codes for example.

November 6, 2024 at 7:50 am #16369922

guyW-3

Good morning Bobby,

Thank you for your response.
The Chat VS is enabled by a small script that was added to the theme's footer and it's setup to work on the Hebrew website only. I don't think this is the cause. I'm getting terrible results both on the loading time and the overall PageSpeed score.

I think it's an issue with the WP-Rocket plugin that thinks the English website, due to the separate domain, is another website and is basically not enabled on the English website due to this.

I've contacted WP-Rocket's support as well and waiting for their response. I just thought you might be able to assist with this based on your prior experience.

Thanks,

Guy.

November 7, 2024 at 4:24 am #16375086

Bobby
Supporter

Languages: English (English )

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

Thank you for providing this additional information!

I was able to locate a comment by their support from 2019 regarding this question:

"Hi Matt 🙂 WP Rocket is compatible with multilingual websites: it can cache all your languages (domains) if you have multiple separate license keys (one for each of your language sub-sites)."

It looks like you might need a license per domain.

hidden link
(bottom of the page at the comments section)

Here are also some recommendations to help with the overall performance.

1. Consider disabling "display as translated" (Fallback mode) from post types, taxonomies, custom fields, etc. in WPML > Settings

2. Disable the setting to "Adjust IDs for multilingual functionality" at WPML > Languages > Make themes work multilingual.
Recommended themes should not need this setting.

3. Turn off “Track where strings appear on the site” in String Translation.

4. Go to WPML->Support-> troubleshooting page, and run:

"Cleanup and optimize string tables"
"Clear invalid strings" options.
"Remove ghost entries from WPML tables".

Let me know your results, please.

November 7, 2024 at 6:22 am #16375270

guyW-3

Thank you very much Bobby for your support and the recommendations. We will look into it and get back in touch if needed. Much appreciated.

November 7, 2024 at 7:24 pm #16379792

Bobby
Supporter

Languages: English (English )

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

You are welcome, if further assistance is needed we will be here !