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 5 replies, has 2 voices.

Last updated by Kor 1 month, 2 weeks ago.

Assisted by: Kor.

Author Posts
February 17, 2025 at 2:03 pm #16714829

anssiK-3

Background of the issue:
I am trying to add more languages to my WordPress site using WPML. The first translation from English to German worked fine, but the second translation to Italian caused issues. You can see the problem on this page: hidden link

Symptoms:
The Italian translation created more than 200 404 internal links. The link to the Bukhara page is incorrect, and in the Italian version of the link to /Uzbekistan/ seems to be missing.

Questions:
Why did the Italian translation create 404 internal links?
How can I fix the incorrect link to the Bukhara page in Italian and all the other erroneus links in Italian translations?

February 18, 2025 at 1:07 am #16716730

Kor
Supporter

Languages: English (English )

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

Thanks for contacting us.

I've checked your Website here hidden link and the internal links are working fine. Did you sort it out yourself?

February 18, 2025 at 6:00 am #16716870

anssiK-3

Well the browsers are smart enough to find the correct url but from SEO point of view those links are broken.

Once more: this is an example of url that WPML created for an internal link:
hidden link

but it should be like this:
hidden link

February 18, 2025 at 6:08 am #16716903

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

Sorry, I'm still not getting this. I'm on this page hidden link and I scrolled to "Attrazioni dell'Uzbekistan central" section and clicked on "Bukhara". Then, I'm being forwarded to hidden link . It looks correct to me and there are no broken links.

Could you please record a short screen recording regarding the issue using this free tool hidden link ? Then, share the video link with me here.

February 18, 2025 at 6:20 am #16716906

anssiK-3

for example in this page: hidden link

the link to bukhara page is missing /uzbekistan/ after central-asia.guide/it/. This is just an example of the few hundred cases that ahrefs is pointing out to me.

February 18, 2025 at 6:39 am #16716925

Kor
Supporter

Languages: English (English )

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

Thanks for your reply. I get what you mean now. However, the link is still being redirected to the correct translated page hidden link when I click on it and it's not leading to 404.

Are you saying that you want to adjust these links manually so that they point to the correct URL without redirection?

February 18, 2025 at 7:04 am #16716951

anssiK-3

The links were built wrong by WPML translation so I am asking if there is an automated way to fix them. What we want to avoid is to manually fix them as there are hundreds of errors.

We cannot leave them as they are either, even with the browser redirection, as it is bad for our website search engine optimization and it is better for us to remove the Italian translation (that we paid several hundreds of euros for) than to leave it like this.

How would you suggest to solve the problem?

February 18, 2025 at 7:10 am #16716998

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

Are you saying that the links show up wrong after you've translated the page to Italian?

There is a way to correct this automatically, but this option only works if these internal links are not custom/external links. Kindly navigate to WPML > Settings > Translate Link Targets > Click "Scan now and adjust links".

It will take some time for it to run completely. When it's done, please try clearing the browser/website cache and recheck.

February 18, 2025 at 2:53 pm #16719737

anssiK-3

Yes, as the links in the original English version are correct. The links are not custom/external even though I am not fully sure what custom means here.

I ran the tool and it adjusted about 5000 strings but the example error seems to remain. I also flushed the caches to make sure they are not affecting the result.

February 18, 2025 at 3:49 pm #16719954

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require 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.

February 21, 2025 at 7:11 am #16732263

Kor
Supporter

Languages: English (English )

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

Thanks for your reply. Could you please double check your Website WP admin access credentials? It's not working for me when I tested it.

February 23, 2025 at 8:11 am #16737338

Kor
Supporter

Languages: English (English )

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

Thanks for your patience. This is what I've done to fix this.

1. I've edited the primary English language of this page here hidden link . Here is the frontend link hidden link

2. Click on the "Save/Update" button on the sidebar.

3. The Advanced translation editor automatically resyncs and the links are now corrected hidden link .

Kindly check on "Bukhara" link now and let me know if this is what you're looking for.

February 24, 2025 at 8:13 am #16739258

anssiK-3

Ok, so the solution is to manually save / update each of the few hundred pages that have this error. I assume there is no automated way from WPML plugin side to do this as this is not in any way optimal from time consumption point of view?

We are still planning to translate from English to couple more languages. Should we wait for your Tier 2 fixes before that to avoid additional problems with the links?

February 24, 2025 at 9:21 am #16739612

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I don't think there is another way to fix this besides resaving the primary page. But you can try resending it for automatic translation using translation management. You won't be charged and it should resync it. Could you try?

February 24, 2025 at 9:42 am #16739766

anssiK-3

Yes, sending for translation through the WPML also works but is it any different from saving from the site front end? I assumed it is correct to select to overwrite previous translation.

You ignored this question in your previous reply: "We are still planning to translate from English to couple more languages. Should we wait for your Tier 2 fixes before that to avoid additional problems with the links?"

The topic ‘[Closed] Italian translation created a lot of 404 internal links’ is closed to new replies.