Skip Navigation

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

Problem:
The client was experiencing an issue where their blog was generating an English URL for articles that should not be translated, despite changing the setting to 'Not translatable'. This was causing concerns about duplicate content affecting SEO performance.
Solution:
We recommended setting the Posts to 'Translatable - only show translated items' in WPML -> Settings -> Post type translation. Additionally, we adjusted the Language switcher options under WPML -> Languages. Here, we set 'How to handle languages without translation' to 'Skip language'. After saving these changes, the English flag no longer appears on blog posts, and visiting the English URL redirects to the Portuguese URL.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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 the problem persists, please open a new support ticket.

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 4 replies, has 0 voices.

Last updated by Carlos Rojas 2 weeks, 3 days ago.

Assisted by: Carlos Rojas.

Author Posts
January 2, 2025 at 1:07 pm #16558865

fundacaoI

Background of the issue:
I am trying to configure the blog not to translate, but it is generating a URL in English. My marketing team is concerned about duplicate content affecting SEO performance. Example URLs: hidden link and hidden link

Symptoms:
The blog is generating an English URL for articles that should not be translated.

Questions:
How can I delete the English URL for blog articles?

January 2, 2025 at 1:46 pm #16559028

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

In this case you should change the configuration of Posts to be 'Translatable - only show translated content' in WPML -> Settings -> POst type translation

Regards,
Carlos

January 2, 2025 at 3:13 pm #16559316

fundacaoI

Hello,

Previously I had this "Translatable" setting and it already had this behavior, so I changed it to "Not translatable" to see if that would correct it, but it remained the same.

January 2, 2025 at 3:18 pm #16559374

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,

If your goal is to show hidden link and not have the option to display the content in English, therefore not showing hidden link then the setting for Posts should be 'Translatable - only show translated content'

January 2, 2025 at 3:56 pm #16559429

fundacaoI

Hello,

Even changing the configuration, the URL in English continues to exist, this URL in English should not exist.

Conf-notrad.png
January 2, 2025 at 4:02 pm #16559475

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi,

I would like to take a closer look at the site configuration. I have set your next message private so you can securely share the credentials.

Please don't forget to create a full backup of the site before sharing the credentials.

January 7, 2025 at 10:35 am #16568971

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,
Thank you for sharing the credentials requested.

To solve the problem I followed these steps:
- WPML -> Settings -> Post type translation -> Set Posts to 'Translatable - only show translated items' -> Saved the changes
- WPML -> Languages -> Language switcher options -> How to handle languages without translation -> Set 'Skip language' -> Save the changes

Now you can see that the language switcher doesn't show the English flag on the blog posts, for example, hidden link and when visiting hidden link you will get redirected to the Portuguese URL.

Can you confirm that the issue was solved?