Skip to content Skip to sidebar

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.

Tagged: 

This topic contains 0 reply, has 0 voices.

Last updated by chun-haoH 5 months, 2 weeks ago.

Assisted by: Bobby.

Author Posts
March 12, 2025 at 8:28 pm #16809188

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I think I can see what is going on now.

There are pages created that host these brands.

These pages have their own URLs:

See here:
hidden link
hidden link

Within them also each "brand" has it's own URL such as Momo
hidden link

There is also the URL created directly in the 'brand' URL here:
hidden link

Which is why that URL is using the -en dash.

I'd recommend navigating the brand items via the pages generated here and continuing this workflow if that is the desired workflow.

hidden link
hidden link

waiting to hear your feedback.

March 13, 2025 at 1:52 pm #16812266

chun-haoH

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.

March 13, 2025 at 6:34 pm #16813382

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I am reviewing this with our team and will update you once I have some feedback.

March 14, 2025 at 12:34 pm #16816748

chun-haoH

No problem! I really appreciate your help these past few days.

March 14, 2025 at 9:53 pm #16818706

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

We are still working on this.

How is the brand taxonomy created? Is it created via a plugin/theme or custom?

March 15, 2025 at 2:23 pm #16819954

chun-haoH

Are you referring to the “brand” function or the brand categories within it?

If it’s the former, it’s a feature provided by the theme.
If it’s the latter, I manually created each brand.

March 18, 2025 at 3:23 pm #16831155

chun-haoH

Hello Bobby Supporter, this is not a rush—just wanted to check on the progress of resolving the issue.

Thank you very much!

March 18, 2025 at 5:37 pm #16831896

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

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.

March 19, 2025 at 5:16 pm #16836709

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

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.

See here now:
hidden link

March 20, 2025 at 11:31 am #16839671

chun-haoH

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.

截圖 2025-03-20 晚上7.29.37.png
截圖 2025-03-20 晚上7.28.39.png
March 20, 2025 at 6:26 pm #16841598

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

What are your settings under the main profile for the language?

When I review the orders page using my account it looks OK and all in English.

if possible switch my account to CN as well so I can further test this.

March 21, 2025 at 12:26 pm #16844362

chun-haoH

I have set all available language settings to Traditional Chinese.

However, the language option on the settings page cannot be changed.

截圖 2025-03-21 晚上8.21.36.png
截圖 2025-03-21 晚上8.20.43.png
截圖 2025-03-21 晚上8.23.59.png
截圖 2025-03-21 晚上8.22.49.png
March 22, 2025 at 4:42 pm #16847750

chun-haoH

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.

Issue screenshots: img. 2-1, img. 2-2

img 1-1.png
img 1-2.png
img 1-3.png
img 2-1.png
img 2-2.png
March 24, 2025 at 4:48 pm #16853396

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

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.

March 25, 2025 at 7:10 am #16854764

chun-haoH

I might not have described the issue clearly.

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.

Once again, thank you very much!!

img 1-1.jpeg