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.

This topic contains 8 replies, has 2 voices.

Last updated by igorM-9 1 year, 10 months ago.

Assisted by: Osama Mersal.

Author Posts
January 8, 2023 at 1:48 pm #12771021

igorM-9

What is the link to your site?
hidden link - test site
hidden link - main site
On the test site it is the same problem, so I'm trying to solve it there first.

Hello,

I have a website with the default language Croatian.
There are also Bosnian language, where all translations are copied - that part is showing

English product/translations are not showing for non logged in users,
They are visible in shop pages:hidden link

But when I click on any of them i gor page not found - 404 error, or Croatian page, or 
When I'm logged in with admin account I can see all products in English (editors can't see the pages also)
hidden link
hidden link
hidden link

I believe it is the same problem as this:
https://wpml.org/forums/topic/5-translated-pages-showing-404-error/I tried all suggestions from that post.

With best regards,
Igor Meleh

January 9, 2023 at 7:04 am #12773223

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Could you please try the following steps?

1- Go to Products-> All Products
2- Switch the language from the top admin bar
3- Make sure that the translated products are translated, not drafted

After publishing the translated products, please check them on the front end.

Kindly let me know if the above steps helped you fix the issue.

Best regards,
Osama

January 9, 2023 at 7:53 am #12773437

igorM-9

HI,

I already checked that, also tried update original post (add small change), and then update translation, still the same...

January 9, 2023 at 7:54 am #12773447

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed.

Your next answer will be private, which means only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

January 9, 2023 at 12:39 pm #12777167

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I checked the issue and found that the product slug translation caused it, so I deleted it from WPML-> String Translation.

After that, the product worked correctly in English. If you need to translate the slug, please go to WPML-> Settings-> Post Type Translation sections, and translate the slug.

Best regards,
Osama

January 9, 2023 at 2:52 pm #12778107

igorM-9

Hi,

thank you for help.

What exactly that means, that I can't have product slug translated in English?

When slug is not translated it works, but slug is then in main language, not in English.

When I translate it (WPML-> Settings-> Post Type Translation), then again is not working.

Can that problem somehow be solved, because that changes my url's/links, and I have to make redirect rules for all products. I'll do that if I have to, but I'll like to avoid that.

Best regards
Igor

January 9, 2023 at 3:27 pm #12778599

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Igor,

Thanks for your update. I found that the English slug translation works correctly when the "Indeed Ultimate Affiliate Pro" plugin is deactivated.

Kindly deactivate it and check the English product. (hidden link)

If it worked correctly, please check the plugin settings. It could be a configuration issue.

Best regards,
Osama

January 9, 2023 at 9:26 pm #12780069

igorM-9

Hi,

Simple updating plugin to latest version solved the problem!
I missed that, because there is no auto notice of new version 🙁

once again thank you for help

Best regards,
Igor

January 9, 2023 at 9:27 pm #12780071

igorM-9

.