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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 3 replies, has 2 voices.

Last updated by Prosenjit Barman 4 months, 2 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
July 8, 2024 at 9:10 pm #15915667

nathanB-19

Background of the issue:
We are having a problem with the way WPML handles the naming of translated pages when updates are made. We have decided to keep all of the page URLs in English and are in the process of converting translated ones back.

Symptoms:
When an update is made, WPML clones the page and appends a numbered suffix, ie. -1, -2, -3, corresponding to the update version of the page. This is causing our page links to break.

Questions:
Are you aware of this issue and if so, how do you fix it?
Can you have someone look at our settings to ensure that we have things set up properly?

July 9, 2024 at 6:24 am #15918021

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're facing, and it is indeed unusual. Duplicate pages with numbered suffix slugs are usually created when a page is duplicated in the same language using a third-party tool or when a new page is created instead of translating the default one. While WPML does have a feature to duplicate pages, its purpose is to create a translated version of the default page, not a new page.

If a new clone of the page is being created simply by updating it, this could be due to a conflict with third-party plugins or the theme. From the WPML Debug Info, I checked the settings in WPML, and they seem to be correct.

Is the issue happening even when updating the default page? If so, please disable the WPML plugin and its addons and check again. This will help determine if the WPML plugin is involved in this issue.

If the issue persists, then there is something else on your site causing the problem. Please switch to a default theme like "Twenty Twenty-One" and deactivate other plugins, then check again. If this helps resolve the issue, start activating each plugin and theme one by one, monitoring the situation after each activation to identify the exact cause of the problem.

Please let me know how it goes. If WPML is involved in this issue, I will be more than happy to check and assist you further.

Best regards,
Prosenjit

July 17, 2024 at 10:46 am #15965674

nathanB-19

How do i turn off translation for URL's?

For example:

edg.io/about-us
converts to
edg.io/公司/法律-2/?lang=zh-hans

I only want the page content to be translated and the url to remain the same i.e in english.
Please advice.

July 18, 2024 at 7:43 am #15970513

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for the update.

If you want the slug for the translated post to be the same as the default slug, follow these steps:

1. Go to WPML > Settings.
2. Scroll down to the Page URL section and set the option to "Copy from original language if translation language uses encoded URLs."
3. This option works only if the language is set to encode URLs. So, go to WPML > Languages and click on "Edit languages."
4. Set "Encode URLs" to 'Yes'(hidden link">Screenshot) for the languages where you want the slug to be the same as the default slug.

I hope the steps above will help in solving the issue. Please feel free to let me know if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

The topic ‘[Closed] page URL naming issue’ is closed to new replies.