Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem: I am encountering a "best practice error" on Google PageSpeed Insights when WPML (WordPress Multilingual Plugin) is activated on my site. This issue is causing a significant reduction in website speed. Additionally, WPML seems to be creating a Charset error.

Solution: To resolve the speed issue and Charset error caused by WPML, consider disabling certain features within WPML that may be impacting site performance. In this case, disabling the language detection feature in WPML resolved the problem. For more specific issues like Charset errors, checking the configuration in `wp-config.php` and adjusting image resolutions may be necessary. It's also advisable to continuously monitor changes on the website and test their impact on site performance.

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.

This topic contains 8 replies, has 2 voices.

Last updated by Alejandro 1 year, 7 months ago.

Assisted by: Alejandro.

Author Posts
October 9, 2023 at 11:27 am #14538861

marcelT-16

please check the link below.

Once i activate wpml i get the best practice error

hidden link

October 10, 2023 at 7:34 am #14546255

Alejandro
WPML Supporter since 02/2018

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

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

Hola!

Lo que nos enviaste no tiene que ver con WPML por lo que estoy un poco limitado con cómo te puedo ayudar.

Eso que mencionas no es un "error" es una sugerencia. y si le das click al ícono de "Prácticas recomendadas" verás que es lo que "falta":

- Las imagenes deberían ser de una resolución más baja (más ligeras)

- El problema con el charset (conjunto de carácteres) significa que muy probablemente no has configurado correctamente el mismo en el wp-config.php. puedes revisar este hilo para más información: https://wpml.org/forums/topic/best-practice-error/

- CSP es una configuración hecha en el servidor

Saludos.

October 10, 2023 at 2:31 pm #14551347

marcelT-16

Hi Alejandro...
Please check the two screenshots...

One is with WPML activated(slow) and one is deactivated.(fast)
WPML hardly reduces my speed on google pagespeed insights

Also WPMP is creating a Charset error.

Can you please help me with that?

Bildschirmfoto 2023-10-10 um 09.30.15.png
Bildschirmfoto 2023-10-10 um 09.29.16.png
October 10, 2023 at 2:42 pm #14551593

Alejandro
WPML Supporter since 02/2018

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

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

Would you be willing to provide me with WordPress credentials and 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.

October 11, 2023 at 1:16 pm #14559799

Alejandro
WPML Supporter since 02/2018

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

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

Please take a look at this video: hidden link

WPML was enabled yet i saw really good scores in pagespeed: hidden link

there isn't any error as the one you showed me. did you make any change to your site since yesterday?

October 11, 2023 at 11:02 pm #14561985

marcelT-16

yes, i made lots of changes yesterday and i solve the problem by myself

October 12, 2023 at 6:24 am #14562721

Alejandro
WPML Supporter since 02/2018

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

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

Cool!

May I know what you did to solve this problem?

October 15, 2023 at 12:13 am #14578181

marcelT-16

i have disabled the language detection thing .

you can close the ticket please

October 16, 2023 at 7:36 am #14581703

Alejandro
WPML Supporter since 02/2018

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

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

Awesome! Have a lovely day.