Symptoms:
After duplicating the page, some internal links are redirecting to the wrong URLs. For example, on the page hidden link, a link within the dropdown redirects to the /zh-tw/ version instead of /pt-br/, which is the expected link.
Questions:
Could you please help us understand why internal links are redirecting to the wrong URLs after duplicating pages?
How can we resolve the issue of incorrect internal link redirections after duplicating pages?
Thanks for your patience. It looks like we're disconnected from the chat. Please share 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.
Thanks for your reply. I'm getting "Error: The username test is not registered on this site. If you are unsure of your username, try your email address instead." and could you please check?
Thanks for your reply. Looks like a dynamic link and you'll have to correct it manually in the advanced translation editor, as shown in the attached screenshot.
I've added some custom XML configuration below into WPML > Settings > Custom XML Configuration to allow you to do that. hidden link
Thank you for confirming and providing us the best practice for adding links.
When we start using WPML, 3yrs ago we added the links starting from the language code for example /us-en/language-training-academy/ and we haven't had this issue before. What could be the possible reason that we have it now?
I updated several links on the Individual Lessons page by adding the /pt-pt/ URLs. The changes are reflected correctly for most links, but one of them — Conversation Classes — still points to the /zh-tw/ link.
Here’s the Portuguese page: hidden link
And here’s the ATE page I’m updating: hidden link
I was under the impression that the customization you added -
<gutenberg-block type="gutentor/e2" translate="1">
<key name="e2Link" type="link" />
</gutenberg-block>
would resolve this issue.
Should we still manually update the US page and include the full URLs for these links?
Thanks for your reply. Let me escalate this to our 2nd Tier Support and 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.
We’re requesting the snapshot because our 2nd Tier Support suspects the delay occurs on your server while generating the XLIFF file that’s sent to ATE rather than within ATE itself. This aligns with the findings from the earlier ticket linked above.
For this current ticket, I’ll need the snapshot to investigate why the links aren’t pointing to the correct translations. Working locally will allow me to troubleshoot the issue directly and replicate it on a clean installation using the same configuration as your site.
The topic ‘[Closed] Incorrect Internal Link Redirections After Duplicating Pages (PT-BR → PT-PT)’ is closed to new replies.