[Resolved] Split: Modification of internal links in Gutenberg
This thread is resolved. Here is a description of the problem and solution.
Problem: You are experiencing 404 errors on all links in translations using the WYSIWYG Classic editor or Gutenberg. This issue does not appear on your staging website. Solution: Ensure that the option 'Translate Link Targets' under WPML > Settings is enabled, as this resolved the issue on our test site. If this does not resolve your issue, check if the custom post type (CPT) archive and the taxonomy base are using the same slug 'recettes'. This is not recommended as it can cause conflicts in rewrite rules and lead to unexpected behaviors. Using different slugs for the CPT archive and taxonomy base may resolve the issue.
If these steps do not resolve your issue, or if the solution seems outdated or irrelevant to your case, 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 the problem persists, 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.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
You are saying it happens when everything is up-to-date but then you are adding that you can not replicate the issue.
Do I understand right, that the issue can currently not be recreated on new content but needs to be fixed for existing content?
I can offer to take a look at this on your test site.
I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.
You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.
IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private reply form looks like this: hidden link
Click "I still need assistance" the next time you reply.
Video: hidden link
Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket in the private response form.
The administration is not translated for our purpose. Recipe is "Recette" in french.
You have to go in subsite administration : "Professionnels" or "Epicuriens".
Then you simply create a post (Articles) or a recipe (Recette). The label of the CPT recipe is "Recette".
I made a fake recipe for you in "Professionnels" subsite the first recipe CPT : "Recipe WPML link test" in French and the English version : Recipe WPML link test EN.
No need to check the front end part, you can create the link and update the post.