Skip Navigation

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

Problem:
The client reported that a product, fully translated into German, was not displaying on the German site and instead was giving a 404 error. Despite updating WPML plugins, the issue persisted. The client also noted that other German products were displaying correctly, which suggested that it might not be a template or plugin issue.

Solution:
We first ensured that the client was using the latest versions of WordPress and WPML. We then requested temporary admin access to the site to investigate further. Upon access, we noticed several outdated plugins that needed updating, which could affect translations, such as WooCommerce and Elementor. After updating these plugins, we checked the specific product and found it was still in 'draft' status in the German version. We were able to change the status to 'published' successfully, resolving the issue.

If you're experiencing similar issues, we recommend ensuring that all your themes and plugins are up to date. Also, check the status of the translated products to ensure they are not set to 'draft'. If these steps do not resolve the issue, it might be due to a different cause or the information might be outdated. 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 open a new support ticket.

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.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 10 replies, has 2 voices.

Last updated by Marsel Nikolli 6 months ago.

Assisted by: Marsel Nikolli.

Author Posts
May 13, 2024 at 10:03 am #15619788

kasperG

This product is 100% translated: hidden link

Yet it is not showing on the german site hockeyproshop.de. When switching language a 404 is given.

May 13, 2024 at 10:57 am #15620258

Marsel Nikolli

Hi,

Thank you for contacting WPML Support, I will gladly help you.

From the debug info you shared I've noticed that you are using WP v6.4.2 and WPML v4.6.9, I suggest you update to the latest version and check if the issue persists.

* Note: Please make sure you have a full backup of your website before making any updates/changes to your website.

* I can't access the link of the product you shared, can you please share the front-end link of the product?

Kind regards,
Marsel

May 13, 2024 at 11:04 am #15620343

kasperG

Hi Marsel

Thank you for your kind replt.

My apologies for now pasting in the link to the frontend product. This is the one in question: hidden link

As you can tell from the attached file it's 100% translated.

I tried updating the WPML plugins. I did not solve the issue.

The Status also looks like everything is OK.

Let me know what you think.
Best, Kasper

Screenshot 2024-05-13 at 13.01.20.png
May 13, 2024 at 11:06 am #15620362

kasperG

Here's the status page.

screencapture-hockeyshop-dk-wp-admin-admin-php-2024-05-13-13_04_22.jpg
May 13, 2024 at 1:04 pm #15621086

Marsel Nikolli

Thank you for the update, I would need temporary access to your site's WP-admin to investigate this issue and understand it better. Please create an administrator user using any email address you prefer

Please fully back up your site (files and database) and confirm it in your next reply.

Your next reply is set to private for you to provide the username and password details.

Thanks,
Marsel

May 13, 2024 at 1:08 pm #15621091

kasperG

Hi again

You can use:

User: [Removed]
Pass: [Removed]

May 13, 2024 at 1:31 pm #15621132

Marsel Nikolli

Thank you for the access, I've noticed that there are quite a few plugins that require updating on your website.

I would need you to proceed with the updating of the plugins (as some of them might affect the translations ex. Woocommerce/Elementor).

* Note: Please make sure you have a full backup of your website before making any updates/changes to your website.

Let me know if the issue persists after the updating.

May 13, 2024 at 1:33 pm #15621141

kasperG

Hi

The odd thing is many german products are translated and showing just fine. If it was a template or plugins issue I'd suspect none of the german products would be showing. Right?

May 13, 2024 at 2:09 pm #15621328

Marsel Nikolli

Can you please share 2/3 links to products from the same category?

* I checked 1/2 of the ones showing at the bottom of the product page but on my end, they were having the same issue (they redirected to the German homepage).

The product in German, when I am logged in, does open but the URL is showing like this:
hidden link

May 14, 2024 at 11:20 am #15624885

kasperG

Hi again

I find it a bit odd that there are two categories with the same name.

Also see this category: hidden link
All these products are working OK.

I did also noticethe product is in “draft” - hidden link
I cannot be changed to published.

Screenshot 2024-05-13 at 16.14.00.png
Screenshot 2024-05-13 at 16.17.56.png
May 14, 2024 at 1:34 pm #15625599

Marsel Nikolli

Hi,

Thanks for the update.

I checked your website and I was able to publish: hidden link just by clicking the "Publish" button. Please check if it's working correctly on your end.

As for the categories having the same name, they can have the same name in different languages as the ID, and the slug works as a unique identifier and they can't be the same in different languages.

Let me know if you have any other questions or need further help.

Regards,
Marsel

May 15, 2024 at 7:12 am #15627918

kasperG

You're right. It works perfectly. Thank you.