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:
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.
Thank you I will wait for the Google crawl to complete, you can close this ticket
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.