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 8 replies, has 2 voices.

Last updated by Itamar 2 months, 2 weeks ago.

Assigned support staff: Itamar.

Author Posts
August 1, 2019 at 9:09 am #4320063

laetitiad-2

Dear all
I have an issue on my optimisation website for the french and arabic version.
It works well on the english version.
As you can see on the comparison report hidden link
I woud like to know if there is something to do on the WPML side.
I use W3 Total Cache
Thank you for your help
Best regards
Laetitia

August 1, 2019 at 10:26 am #4320549

laetitiad-2

yes thanks for your help

August 1, 2019 at 12:28 pm #4321621

laetitiad-2

Hi again
the issue is coming from the duplicate content
same content served by different URL
How can I avoid that ?
hidden link
hidden link
Thanks
Laetitia

August 1, 2019 at 3:51 pm #4323655

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, Laetitia.

Marcel is not available now so I'll continue to handle this ticket. I hope that it is alright with you.

The W3TC plugin is very powerful, but it is also quite complex for configuration. The W3TC is compatible with WPML.
Can you please confirm that you are following our instructions at the following link on how to work with WPML and the W3TC?
https://wpml.org/documentation/plugins-compatibility/optimize-multilingual-website-performance-using-w3-total-cache/
If you find that configuring this plugin is complex then please consider using another caching plugin. The WP Super Cache plugin is also compatible with WPML and is easier for configurations.
https://wpml.org/plugin/wp-super-cache/
https://wordpress.org/plugins/wp-super-cache/

Please let me know if this information is helpful to you.

Regards,
Itamar.

August 1, 2019 at 4:07 pm #4323939

laetitiad-2

Thank you I have followed the W3TC guidelines and as you can see the test is good with the english version but not with the french version

but the problem I detected is the following one :

the issue is coming from the duplicate content
same content served by different URL
How can I avoid that ?
for exemple
hidden link
hidden link

in my GT metrix result test.amarencogroup will charge duplicate content from test.amarencogroup.com and testen.amarencogroup.com that's why I have a bad score.
Could you please advice how I can avoid this ?

Thanks
Laetitia

August 1, 2019 at 4:34 pm #4324193

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi and thanks for the extra details.

You are using different domain per language like so:
French (default): hidden link
English: hidden link
Arabic: hidden link
I add this information because of your last reply where you mentioned that the same content loads from different URLs:
- hidden link
- hidden link
Can you please explain to me what these URLs are?
Can you please elaborate on this point and explain to me where I can see this on the GT Metrix result?
I want to add that I'm not sure that WPML causes this issue.
To test this can you please temporarily deactivate WPML. Now French should be the only language on your site.
Do you still get the same problematic results hidden link when WPML is deactivated?
If so, then it is probably not an issue that coming from WPML.

Please note that if you need further help from me, I'll be able to reply on Sunday.

Best Regards,
Itamar.

August 1, 2019 at 5:13 pm #4324453

laetitiad-2

Hi thanks again for you message

I prefer to focus on the test website that's why I mentionned these URL
- French (default):hidden link
- English: hidden link

instead of the official website

French (default): hidden link
English: hidden link
Arabic: hidden link

- without desactivating WPML here are the results :

French : hidden link ( scrore F27%)
English : hidden link ( score B 87%)

- when I desactivate WPML

French : score B 89%
English : score B 87%

When you check the result the problem come from

- serve ressource from a consistent URL
- defer parsing of javascript

You will see that for the french version includes both URL test.amarenco.com and testen.amarenco.com

I hope it is clear

Thank you again for your help

Laetitia

August 1, 2019 at 8:33 pm #4325065

laetitiad-2

Dear Itamar,

I have found the unswear on this post https://wpml.org/forums/topic/resources-are-loaded-for-both-of-my-languages-affecting-the-loading-time/
But now I wonder how it is possible to redirect the langage according to the langage navigator ?
Thanks
Laetitia

August 4, 2019 at 9:25 am #4335969

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi and thanks for referring me to the other ticket.

I'm not sure that I understand the question that you are asking.

But now I wonder how it is possible to redirect the langage according to the langage navigator?

To disable the browser language redirect option, please do the following.
1. WPML -> Languages -> Browser language redirect.
2. Select the option 'Disable browser language redirect'.
3. Save the settings.
4. Check if the problem of the resources that are being loaded from the different domains are is now solved.
Please note that you would need to re-save the permalinks of your site. And please also clear the cache from your site.

Please read our documentation about browser language redirect here.
https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/
Please also be aware that when this option is active, it can affect Google site indexing.
https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/how-browser-language-redirect-affects-google-indexing/

Please let me know if this information helps you to understand the issue or you have any further questions about it.

Regards,
Itamar.

The topic ‘[Closed] GT Metrix optimisation problem’ is closed to new replies.