Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client's website has pages translated into Chinese, but untranslated pages are incorrectly showing a URL with the Chinese language code (e.g., domain.com/zh-hant/postname) instead of remaining in the default English URL (e.g., domain.com/postname). This issue is believed to be harming SEO.
Solution:
If you're experiencing this issue, we recommend checking your WPML settings. You might have selected the Translatable - use translation if available or fallback to default language option for Posts and Pages in WPML>>Settings>>Post Types Translation. To resolve this, switch to the Translatable - only show translated items option after performing a site backup. This change should ensure that untranslated pages retain the default language URL. For more detailed guidance, please refer to our documentation on displaying untranslated content: Displaying Untranslated Content on Pages in Secondary Languages.

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. Should you need further assistance, please do not hesitate to 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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Bigul 10 months, 1 week ago.

Assisted by: Bigul.

Author Posts
July 11, 2024 at 3:00 pm #15936077

tropiconD

Background of the issue:
We have our default site in English and translated some of the pages with traffic into Chinese. The untranslated pages (with no traffic) are currently displaying as domain.com/zh-hant/postname. We do not want it that way. We want when a page is not translated, it should remain in their default language as e.g domain.com/postname and not as domain.com/zh-hant/postname. My team believe this is harming SEO and we have to fix this very fast. I had earlier engage in a chat with support in this regard without a satisfactory solution.

Symptoms:
Untranslated pages are displaying with the Chinese language code in the URL, which is believed to be harming SEO.

Questions:
How can we configure WPML to keep untranslated pages in their default language URL?
Is there a setting in WPML to prevent untranslated pages from displaying with the language code in the URL?

July 11, 2024 at 4:10 pm #15936488

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

To help you faster, I've enabled debug information for this support ticket. Please see this link for how to get this information from your site and give it to us: http://wpml.org/faq/provide-debug-information-faster-support/

You have probably selected the *Translatable use translation if available or fallback to default language* option for Posts and Pages in WPML>>Settings>>Post Types Translation. This setting will help to list pages/posts in the secondary language without translation/content duplication.

If so, please switch to the *Translatable only show translated items* option after a site backup and make sure the issue exists or not. Refer to the following documentation for more details.

https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#using-the-default-language-as-a-fallback-for-untranslated-content

--
Thanks!

Bigul