Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client's website supports eight languages, with English as the main language. All languages were translated using WPML, but only the Chinese language links were showing a 'no result' error message. The client tried removing and re-adding the Chinese language, making small changes, and using the 'Translate Link Targets' option in WPML settings, but the issue persisted. The client also noted that the same process worked fine for another post the previous day.

Solution:
1. We identified that the issue was due to the Chinese version of the product being set to redirect to another product that was unavailable. This redirection was configured by the Yoast SEO plugin.
2. We advised the client to go to Yoast SEO > Redirects and delete the redirect if it was found there. Alternatively, the client could reach out to the Yoast Support team for assistance in removing the redirect.
3. After the client's update, we confirmed that the page was loading correctly. We recommended clearing the caches from the site and browser, and also from the server level if applicable, to ensure the changes take effect.

If this solution doesn't look relevant to your issue, please feel free to open a new support ticket with us.

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.

This topic contains 5 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 3 months ago.

Assisted by: Prosenjit Barman.

Author Posts
December 21, 2023 at 5:55 am #15106609

mkt@uprtek

Tell us what you are trying to do?
Our website have 8 langs, EN is the main lang., and I translated the rest 7 langs. with wpml, but only Chinese links show up no result error msg

Is there any documentation that you are following?
Yes and No, I tried removed Chinese and added it back.
I also tried make small changes and re-do it again.
I saw https://wpml.org/forums/topic/internal-link-error-on-translated-page/ and tried WPML -> Settings -> Translate Link Targets.
My version of wpml is 4.6.7
But i did the same thing for another POST yesterday and it was fine.

Is there a similar example that we can see?
hidden link
You can switch to Chinese and it shows no result, but the rest 6 langs. are ok.

What is the link to your site?
See above.

December 22, 2023 at 11:37 am #15116593

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're having and will try my best to assist you in this matter.

Please verify that the "product" slug hasn't been used elsewhere in the Chinese language version of the site. Often, using the same slug for other post/post types/taxonomy can lead to issues like the one you're experiencing.

If you can confirm that the 'product' slug hasn't been used anywhere else, please ensure that the status of that particular product is set to Published. Here are the steps to follow:

- From your Admin dashboard, Switch to Chinese language
- Locate the Chinese product
- Quickly edit the product and ensure that the "Status" of the product is set to "Published".

Please let me know if that helps to solve the issue or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

December 25, 2023 at 2:14 am #15125257

mkt@uprtek

Hi Prosenjit,

I checked all of your suggestions, no other posts are using the same slug, and the post is published. The problem is still there.

Below is the link of the POST.
hidden link

Normally, Chinese link will be like below
hidden link

After switch the language bar to Chinese, it goes to
hidden link

But I didn't see above link in POST.

Nicole
Nicole

December 26, 2023 at 9:14 am #15128951

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Nicole,
Thank you for the update.

Upon closer inspection, I found that the issue stems from the Chinese version of the product being set to redirect to another product, which is presently unavailable. This redirection is primarily causing the problem. Further examination of the header information revealed that this redirect has been configured by the Yoast SEO plugin. Please see the attached screenshot for more details.

Now, please go to "Yoast SEO > Redirects" and check if you can locate the redirect. If you can find it, simply delete the redirect. The issue will be solved right after that. You can also reach out to the Yoast Support team to find and delete the Redirect.

Please let me know if that helps or if you need further assistance in this matter. I will be happy to help.

Wishing you a Merry Christmas!

Best regards,
Prosenjit

Screenshot 2023-12-26 150620.png
December 28, 2023 at 1:30 am #15133549

mkt@uprtek

Hi Prosenjit,

I deleted the redirection in Yoast, but the problem is still there...
So I contacted Yoast, below is their reply for your reference...

I then checked the page hidden link using the tool hidden link and also confirmed that the page is responding with a 200 response code; see the screenshot attached. The 200 response code tells that the page is loading correctly without any redirections.

So...Pls. kindly help, thanks a lot!

Nicole

December 28, 2023 at 8:40 am #15133837

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Nicole,
Thank you for the update.

I checked the page again and can see that now it is loading properly. Please check this full-page screenshot(hidden link) for a better understanding.

Since you're using an optimization plugin on your site, could you please clear the caches from your site and browser and then try again? If server-level caching is also enabled, please make sure to remove caches from there as well.

Rest assured that the Chinese version of that page is working properly. Feel free to let me know if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

January 3, 2024 at 1:56 am #15145006

mkt@uprtek

It is working fine now, Thank you so much!