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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 20 replies, has 0 voices.

Last updated by Kor 5 days, 2 hours ago.

Assisted by: Kor.

Author Posts
April 30, 2025 at 7:36 am

bikbulatovaE

Background of the issue:
I am trying to fix links that point to the main language on translated website versions. The issue can be seen on this page: hidden link. I expected to see the link hidden link instead of hidden link in the text corpus, and hidden link instead of hidden link in the account button.

I also tried the function "Translate Link Targets" in WPML > Settings.

Symptoms:
I am getting wrong links that point to the main language instead of the translated versions.

Questions:
Why are the links pointing to the main language instead of the translated versions?
How can I fix the links to point to the correct translated pages?

April 30, 2025 at 8:49 am
May 1, 2025 at 9:41 am #16986249

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your patience.

I regret any inconvenience caused, but to proceed with troubleshooting, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To guide you further, please adhere to these instructions:

1. View the Duplicator instructions video: hidden link

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.

Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.

Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.

May 6, 2025 at 8:09 pm #17003488

bikbulatovaE

You want staging website?

May 7, 2025 at 12:50 am #17003987

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. A staging site can be helpful too.

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.

May 15, 2025 at 1:03 pm
May 16, 2025 at 4:03 pm #17042812

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. It looks like some conflict with another plugin. Could you check now? Switching to another language seems possible now hidden link .

Could you check and see if other links are working correctly for you too?

May 21, 2025 at 8:12 am #17055532

bikbulatovaE

It seems to work, yes.

May 21, 2025 at 11:02 am #17056630

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. Glad that helped. You can try reactivating the plugins that I've deactivated to see which one is causing the issue you had there.

May 26, 2025 at 2:07 pm #17073743

bikbulatovaE

How can I replicate the fix for the live website?
And this was only for wrong links in menu.

The links in content still need to be fixed.

May 26, 2025 at 2:24 pm #17073999

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. Could you perform a full backup of your live Website? Then, share your updated credentials here, and I will check further.

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.

May 28, 2025 at 6:34 am
May 28, 2025 at 6:56 am #17081394

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. It looks like RankMath is causing the issue with the broken links. You need to check on that. As for the links on the contact us page, it works now hidden link after changing the slug here hidden link for the German language page.

May 30, 2025 at 5:32 am #17090381

bikbulatovaE

So how should I proceed, disabling rank math isn't an option... Only if temporary.
I don't have this issue on other websites.

And how to proceed with the links, man I cant edit all the slugs one by one, there are still all the wrong links in the product category descriptions.

May 30, 2025 at 8:25 am #17090929

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. You need to check with Rank Math support to see what's causing this. It's probably some configuration that needs to be adjusted.