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 3 replies, has 2 voices.

Last updated by Bobby 11 months, 1 week ago.

Assigned support staff: Bobby.

Author Posts
June 27, 2019 at 9:31 pm #4103011


On my website, for the time being, only posts from one post type will be translated - downloads (wpdmpro). The rest of the content will be in english (default language).

I set up the whole site, inserted four posts in wpdmpro post type, that are four different versions of the same document in four languages.

Everything looks great, when I open the single post. The menu stays default - meaning english - which is what I want, because the rest of the content (all the pages, news etc) will remain in english for the time being. But when you hover the menu links, the URLs, that the menu items link to, contain directory of the active language - for example, I have a product page and its URL is:
When I am on the single downloads post, that is in spanish, I get the following URL in the menu:

But the page "product1" is not in spanish, in fact, there is no such a page. Although the link: does open the right page:
BUT in the address bar the URL is

I want to make sure, that google will not start indexing all those pages, that are "non-existent" because this will create a lot of confusion. What can I do about it?

June 27, 2019 at 10:01 pm #4103037


Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi There,

WPML allows for displaying untranslated content on pages in secondary language if you wish to do so for more information please review the following documentation


also here you should be able to review the way WPML works with SEO

the following thread might as well be of help on how to possibly exclude specific pages/languages from google crawling them.

June 27, 2019 at 10:18 pm #4103081


Thank you for prompt reply.

I found this:
before asking my question and this is how I set it up.

But Im puzzled, that the language directory is added to all URLs in default menu. So as I understand, there is nothing I can do about it?
Even if Google knows its canonical, it will be weird, when people will share those URLs in social media etc....

June 28, 2019 at 6:21 pm #4109851


Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)


that is an expected behavior as on the secondary language the url will indeed change to acomodate the fact that now a user is visiting another language and display the content "as translated" otherwise the non translated content would not appear in the secondary language and only under your default language.

The topic ‘[Closed] Wrong directory in URL’ is closed to new replies.