Skip Navigation

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

Last updated by Dražen 1 year, 9 months ago.

Assisted by: Dražen.

Author Posts
September 14, 2023 at 11:07 pm #14399793

marcoS-133

Hello WPML community,

I'm trying to set up my page structure and found a very ugly inconsistency.
Site structure:

hidden link (main starting page = absolute root)
hidden link (homepage of German locale)
hidden link (homepage of English locale)

The German Homepage I called: DE
The English one has the title: EN

For permalinks below homepage, there is the logic:
<Url of parent page> + <title of current page>

-----------
ISSUE
-----------
If there is one child level below the homepage, we have like

hidden link
(that is fine and the url is working, <Url of parent page> + <title of current page>)

But going one level deeper, I suddenly encounter:

hidden link
(that is not good, <Url of parent page> + <title of parent> + <title of current page>)

And clicking on this link in page editor brings me to
hidden link
which would be correct, but I end up in 404 error. However, using
hidden link
works

----------------------
CURRENT RESULT
----------------------
The behaviour is inconsistent between first and all sub-levels
1: hidden link
2: hidden link

Why do we have on 1. child level:
hidden link
And on 2 level, there is suddenly the "en" as homepage title considered in URL:
hidden link

----------------------
EPECTED RESULT
----------------------
I would like to have URLs like:
hidden link
hidden link
hidden link

hidden link
hidden link
hidden link

Or with homepage name, if no other option:
hidden link
hidden link
hidden link

Many thanks

chrome_MVn9OnXMql.png
chrome_1Gq2WXTBOW.png
chrome_eaFlr9t4XX.png
chrome_BeNmJ0wyPP.png
September 16, 2023 at 10:43 am #14406475

marcoS-133

Furthermore also the menu shows this inconsistency and does not work for pages below child level (child-child, child-child-child, ...)

This looks like a bug.

September 18, 2023 at 6:01 am #14409115

Dražen
Supporter

Languages: English (English )

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

Hello,

Please make a backup before proceeding.

1) Please check if the issue happens when only WPML plugins are activated, and all other plugins are disabled.

Change your theme to the WP default theme and check if the issue happens.

2) Please go to WPML > Support > Troubleshooting > Clean up and click to run next:

- Clear the cache in WPML
- Remove ghost entries
- Fix element_type collation
- Set language information
- Fix post type assignment

Let me know how it goes.

Regards,
Drazen

September 19, 2023 at 1:56 am #14415779

marcoS-133

Ok, I will check this out. Thanks for the moment, will use this ticket in case no solution is reached.

September 19, 2023 at 5:51 am #14416031

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks.

Let us know how it goes and if any other questions.

Regards,
Drazen