Home›Support›English Support›[Resolved] Translated pages giving redirect errors in Google Search Console
[Resolved] Translated pages giving redirect errors in Google Search Console
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing redirect errors in Google Search Console for translated URLs on your site, where the URLs include a language slug but redirect to an original page, this might be due to the content being recently translated. Solution: We recommend checking if you're using the fallback method where WPML displays the original content in secondary languages when the content is not yet translated. This could result in the slug not being translated. For more information, please refer to our documentation on Displaying Untranslated Content on Pages in Secondary Languages.
If this solution doesn't look relevant, please open a new support ticket in the 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.
Google Search Console flagged a bunch of translated URLs by WPML on my site which are causing redirect errors. If you look at the image attached, the first 2 URLs are good examples.
They are both for the Chinese page (you can tell from the zh-hans slug), but those pages are not actually the final destination. Those pages redirect to a page with Chinese characters in the URL. Take this link for example and you will see it redirects to the correct page:
hidden link
How can I stop these redirect pages from showing up? Is it linked to the show all posts option instead of show only translated posts? It is strange because the link is in fact translated and should only use the URL with Chinese characters. Any ideas?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I can not confirm such a link when investigating the REST API and also on the Google Index this post is listed with a correct link.
It is unclear to me, why Google is registering those redirects, but they could be linked to false entries on sitemaps or unexpected redirects that are forced by another plugin or an entry inside the .htaccess file.
Did review the sitemap and the .haccess file already?
Have you already tried to clear the cache of the site in all languages?
If my suggestions will not solve this issue, then please let me know and I will offer to have a closer look at the site.
In the time between my post and your reply, I decided to put all the posts pages to SHOW TRANSLATED ONLY. Maybe that is why you cannot find the error anymore, it was due to showing untranslated content and the link it created caused the redirect?