Skip Navigation

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

Problem:
After migrating from Polylang to WPML using the 'Migrate Polylang to WPML' plugin, the client experienced issues with duplicate pages and incorrect URL structures for translated pages. Additionally, some pages like Home and Contact Us were not available for translation in the WPML Translation Editor.
Solution:
1. To address duplicate pages, we advised the client to check the Languages section on the affected pages and manually link translations if they were missing. This process is detailed in our guide: https://wpml.org/faq/how-to-link-already-translated-pages/
2. For pages not appearing in the WPML Translation Editor, we recommended making a minor content update to the original page and then saving it to refresh the translation availability.
3. To correct the URL structure for translated pages, the client was instructed to manually adjust the slugs using the language switcher in the WordPress admin bar. This adjustment ensures that the URLs reflect the desired language structure without duplication.

If this solution does not resolve your issue or seems outdated, we 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 problems persist, please open a new support ticket at WPML support forum for further assistance.

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

Last updated by Kor 1 week ago.

Assisted by: Kor.

Author Posts
June 13, 2025 at 4:37 pm #17134229

lenaM-6

Background of the issue:
I’m using the 'Migrate Polylang to WPML' plugin, and the migration has completed.

Symptoms:
Some pages appear to be duplicated, such as Cart, Checkout, etc. For other pages like Home and Contact Us, I’m unable to translate them using the WPML Translation Editor — the option doesn’t seem to work as expected.

Questions:
How can I resolve the issue of duplicated pages after migration?
Why am I unable to translate certain pages using the WPML Translation Editor?

June 15, 2025 at 8:55 am #17135999

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.

You may see duplicate pages after migrating from Polylang to WPML because the translation relationships were not fully carried over. This can happen for a couple of reasons:

- WPML may not recognize that two pages are translations of each other.
- Some pages might have been manually duplicated in Polylang without being marked as translations.

To fix this, please edit the affected pages and check the Languages section on the right side of the screen. If a translation is missing, we can link them manually by following this guide: https://wpml.org/faq/how-to-link-already-translated-pages/

Also, try editing the original page or post (just make a small content change) and save it. Then, check if it becomes available for translation using the WPML Translation Editor.

--
Thanks!

Bigul

June 15, 2025 at 11:12 am #17136243

lenaM-6

Hi Bigul,

Thank you for the suggestions and the helpful guide. However, in my case, the issue seems a bit different.

After using the “Migrate Polylang to WPML” plugin, I noticed that the translation URLs are not behaving as expected. For example:

My default language is Armenian, but the URL appears as:
hidden link
Instead, it should be:
hidden link

For Russian, I get:
hidden link
But I expected:
hidden link

Only the English version appears correctly as:
hidden link

It looks like the slugs for translated pages are being duplicated with language codes in them, which is not the structure I want.

Could you please check what might be causing this and help me correct the page slugs, so they follow the proper language URL structure?

Screenshot_14.png
June 17, 2025 at 1:15 am #17140468

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

While checking the debug info, I see that the WordPress Memory Limit is below the requirements. The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details
https://wpml.org/home/minimum-requirements/.
You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

define( 'WP_MAX_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '128M' );

After adding the code you can confirm that the memory was changed correctly from WPML > Support > WordPress > Memory limit.

June 17, 2025 at 3:36 pm #17143189

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've checked your Website and I can see that you're using manual translation. You can change the slug directly on your page by using the language switcher on the top admin bar, as shown in the attached screenshot. I've shared the URLs below for your convenience.

hidden link
hidden link

Screenshot_189.png
Screenshot_190.png
June 17, 2025 at 6:48 pm #17143721

lenaM-6

My problem is that when I change the URL (slug) of a page, it becomes "Not found" and shows a 404 error. So when the URL slugs are different for each language, the pages work correctly — but I want to have the same slugs, like:

hidden link

hidden link

hidden link

Is there a way to make this work?

Screenshot_18.png
June 17, 2025 at 6:55 pm #17143746

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I resaved the theme options here hidden link and it works fine now. Could you check?