This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is concerned that the hreflang tags on their website are not including query parameters (like '?add-to-cart=159246' or '?paged=10') after the question mark in URLs.
Solution:
We explained that excluding query parameters from hreflang tags is the correct and recommended approach for optimal SEO performance. Here are the reasons:
- Hreflang Tags and Canonical URLs: Hreflang tags should point to the canonical versions of pages, intentionally excluding query parameters to avoid multiple URLs leading to the same content, which can confuse search engines.
- Preventing Duplicate Content Issues: Including query parameters could lead to search engines indexing multiple versions of the same page, potentially resulting in duplicate content penalties.
- Improved Search Engine Indexing: By pointing hreflang tags to canonical URLs without query parameters, it helps search engines recognize the primary version of each page, enhancing SEO rankings.
We recommend verifying that the canonical tags on your pages are correctly pointing to the main site without query parameters. You can check this by viewing the page source and looking for the canonical link tag. For guidance on checking canonical tags, visit this article.
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
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.
Our next available supporter will start replying to tickets in about 4.22 hours from now. Thank you for your understanding.
This topic contains 1 reply, has 2 voices.
Last updated by 1 month, 3 weeks ago.
Assisted by: Prosenjit Barman.