Home›Support›English Support›[Resolved] After updating a block the links are not linking to the translated page anymore
[Resolved] After updating a block the links are not linking to the translated page anymore
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're using Greenshift as your content builder and notice that after updating the original dropdown menu, the translated links are not working anymore and are pointing to the original language. Solution: We recommend adding more custom XML configuration code to adjust the internal URLs automatically. Here is the code you should add:
If this solution does not apply to your case, or if it seems outdated, we highly 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 you still need assistance, please open a new support ticket at https://wpml.org/forums/forum/english-support/.
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.
I'm using greenshift as content builder. I have a dropdown menu that has some links in it. After i updated the original dropdown, the translated links are not working anymore and are pointing to the original language.
Languages: English (English )Vietnamese (Vietnamese )
Timezone: Asia/Ho_Chi_Minh (GMT+07:00)
Hi Riencov,
I'm Long from the WPML Development team, I'm happy to help you with this issue.
I can see the issue with dropdown menus on your site like "Platform" or "Company", the link to the post is in the original Dutch language instead of the current language.
I would like to request temporary access (wp-admin and FTP) to your site so I can take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.
you can see it in WPML > Settings > Custom XML Configuration tab. Then edit the block mega menu and click on Update. Now you can see the translation URL in the mega menu displayed correctly.
This seems to be working now. However, I’m still experiencing a few issues:
* The CPT archive links are not being translated. For example: in the menu under
**Company > Vacatures (Working at)
**, the hero header button “Ontdek Findwhere”, and the button “Ontdek alle modules”.
* Is it possible to change all of these links at once? Whenever I try to update them, they revert back to the default (Dutch) version after I update the specific page where the link is located.
* In all languages except the default (core) language, the footer has disappeared.
Languages: English (English )Vietnamese (Vietnamese )
Timezone: Asia/Ho_Chi_Minh (GMT+07:00)
Hi,
1. For the CPT archive link and hero header button, the auto-adjust internal URL feature doesn't work because you are using the relative URL like "/modules/", "/vacatures/", see the attached screenshot.
To make this feature work, you have to use the absolute URL like hidden link hidden link
Also, there is an issue with the auto-adjust archive page URL. I suggest you use the same slug for all languages instead of translating it.
I update the post name of the footer in other languages to "footer" in the database to fix it. This has been escalated to the development team and it should be fixed as soon as possible.
1. The homepage has several links pointing to hidden link, but none of them are being translated. I tried updating them, but most of them already had the correct URL. The translated URL still isn’t working. All translated pages are using the same slug.
2. After updating a link in the footer, the footer disappeared again on the translated pages.
2. I applied a quick fix on your site to prevent this from happening again with the FSE (Full Site Editing) template. You can now edit the footer template and save it as well.