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?
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
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.
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.
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?
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.
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.
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.
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.