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.

This topic contains 1 reply, has 2 voices.

Last updated by Nicolas V. 1 year, 7 months ago.

Assisted by: Nicolas V..

Author Posts
September 27, 2023 at 3:54 pm #14475837

andreS-25

Hi ! I get a ton of pages with redirect on Google Search Console which are pages that don't exist in the site..

For example : hidden link (if you check this link it exists somehow but its the wrong language..)

The WPML is configures to put /en/ or /fr/. I think it was configured tu use /?lang before and the main language of the site has been changed.

On The sitemap all the links are fine. Everything is updated ok in GSC. I have uploaded recently and it has been crawled recently.

I have resetted the permalinks.

Is there a way to clean up this mess ?

Thanks

I have done all the cleanup tools in WPML, Elelemtor, cache clearing...

screencapture-omegafruit-ca-wp-admin-admin-php-2023-09-27-11_53_27.png
Capture d’écran 2023-09-27 115253.png
screencapture-search-google-search-console-index-drilldown-2023-09-27-11_51_55.png
September 28, 2023 at 3:17 pm #14482999

Nicolas V.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

Welcome to the WPML support forum. Thanks for all the details.

The WPML is configures to put /en/ or /fr/. I think it was configured tu use /?lang before and the main language of the site has been changed.

That's also my theory because:
- You are using the URL format "language as a repertory (/fr) in WPML
- I checked the YOAST sitemap and the links are correct:
hidden link
- I checked the hreflang balises added by WPML and they are also correct:

<link rel="alternate" hreflang="en" href="<em><u>hidden link</u></em>" />
<link rel="alternate" hreflang="fr" href="<em><u>hidden link</u></em>" />
<link rel="alternate" hreflang="x-default" href="<em><u>hidden link</u></em>" />

If you switched from language as a parameter (?lang=fr) to language as a repertory (/fr), then try the following:
- Clear all caches (from server side, plugins...)
- Re-submit your sitemaps to Google Search Console

PS: please note that it won't have an immediate effect, Google needs to crawl your site again and reindex it properly. We don't have any influence on that process.

October 2, 2023 at 4:04 pm #14499229

andreS-25

Thank you I will wait for the Google crawl to complete, you can close this ticket