This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue where the brand page could not be found when accessing it through the specified URL. The expected brand pages and their products were not displaying, showing an error message instead. Solution: We identified that the issue was related to the URL structure and the translation settings within WPML. Here are the steps we took to resolve the issue: 1. We navigated to WPML->String Translation to locate and delete the existing brand strings. 2. We then re-scanned and re-translated these strings to ensure they were correctly set up. 3. We adjusted the permalink settings from Chinese to English in WP->Settings->Permalinks, which was initially not taking effect likely due to caching issues. These steps resolved the brand page not found error, and the correct URLs began to function as expected.
If this solution does not resolve your issue, or if it 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 do not hesitate to 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.
1. The URL for the CN version does not include /cn/
A:I don’t want the URL to include /cn/, So this part doesn’t need to be changed, thank you.
2.We can change it to 'brand' as 'brands' seems to be used on a separate page and that way it would not conflict.
A:Let’s change it to “brand” then, thank you!
3.The URL of the brand page conflicts with the URL generated for the brand.
A:Oh… After your detailed explanation, I completely understand. It was the URL names of the pages I created that conflicted. I’ll leave this part as is for now and make no changes because I want to keep both pages.
Summary of the issues and solutions:
1. Change the Chinese characters “品牌” in the URL hidden link to “brand” (since “brands” is already in use, we will use “brand”).
2. As for the original issue where the brand-created URL showed “page can’t be found,” this issue has now been fixed.
Can you help summarize the solutions and steps for these two points? There are no further issues! Thank you very much for your help.
We are still working on testing this, my credentials expired, is it possible to re share with me access?
If you wish to leave the brand slug translated to Chinese then it will work OK, however, if you want to tranlsate it we need to test the theme further as it looks like the translation is coming from the theme's strings.
I have enabled the private reply to re share access.
No need for a new ticket, I am already working on it for you.
The original issue was resolved by the following method:
1. WPML->String Translation-> locate brand strings (searched for them)
2. Delete the existing ones for the brand slug
3. Re scan and re translate the strings.
P.S I can now see that the permalink is also working using 'brand'.
to change this i went to WP->Settings->Permalinks and switched it from CN to EN there, however, the reason it was not taking effect was most likely due to caching.
A huge thank you to Bobby Supporter for your assistance!
The issue with the “Brand page can’t be found” error has been completely resolved, and I now understand how to fix this issue in the future!
I also fully understand the permalink changes now!
All issues have been resolved—thank you again for your help, Bobby Supporter!
----
However, there is a small issue now. It seems that the backend language settings are reversed. When I select Chinese from the language switcher at the top, the backend displays in English, and when I select English, the backend displays in Traditional Chinese.
I have already set the default backend language in WP to Traditional Chinese.
I’m sorry, but I encountered the same issue this time when modifying the product category slug (others-fetish -> other-fetish-en).
I tried to resolve the issue using the following steps:
1. WPML -> String Translation -> Locate brand strings (searched for them)
2. Delete the existing ones for the brand slug
3. Re-scan and re-translate the strings.
However, the issue is that I cannot find the original category slug in String Translation.
Issue screenshots: img. 1-1, img. 1-2, img. 1-3
###
Additionally, I found an error while testing the shipping rates today.
When the website frontend is set to Traditional Chinese, the shipping options correctly include Taiwan.
However, when the website frontend is set to English, selecting Taiwan as the shipping destination results in the message “No shipping options were found.”
Note: The default website language is Traditional Chinese, and the website is based in Taiwan.
The site language cannot be changed when WPML is activated as you are using WPML->languages for this, however, you can edit the user language at the top of the user profile.
Please review the loom screencast on how I changed the URL for the category quickly to remove the -en
I recommend doing that as the first step in this type of issue as you can remove this category URL directly from the backend, only do the String Translation route if that step does not work 🙂
For the product brand permalink it was a different procedure which is why I recommended the string translation as the first route.
hidden link
Regarding the shipping rates issue, if possible, please open a new thread as we try to keep each thread to 1 issue.
I want to change the slug of the Other Fetish category to other-fetish-en because the original slug others-fetish had an extra “s.” However, if I use other-fetish, it would duplicate the existing slug in the Chinese interface, so I chose to modify it to other-fetish-en instead.
However, after making this change, the preview page displays “That page can’t be found.” and the URL still shows others-fetish at the top.
I watched your Loom video and noticed that reverting the slug to the original others-fetish allows the page to display correctly. However, this category contains 57 products, but only 2 products are shown on the page.
I also tried manually updating the product pages of the missing items, but they still do not appear.
Error screenshots:img 1-1.jpeg
So I believe there are two issues that need to be fixed.
I sincerely apologize for the inconvenience once again!!
######
Could you please open a new discussion thread for this issue?
I would really appreciate your assistance with this problem as well, since maintaining consistency in communication would be beneficial. I also believe you can effectively resolve my issue.