Skip Navigation

[Gelöst] Front end content for product single translation not showing

This support ticket is created vor 3 Jahren, 9 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

Dieses Thema enthält 23 Antworten, hat 3 Stimmen.

Zuletzt aktualisiert von Jamal vor 3 Jahren, 9 Monaten.

Assistiert von: Jamal.

Author
Artikel
#1933701

I deactivated and deleted the redirection plugin. But the pages still don't show correctly:
- versteckter Link
- versteckter Link
Do they show for you?

#1934525

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Yes - it works at this end when Redirection plugin is deactivated.

Strange thing is that Redirection plugin is automatically activated after some time, even though I deactivate it.

#1935153

Does it really work for you?!
For me it doesn't. I didn't change anything since yesterday and checked again today. Some product pages work, others don't.
Can you see why?
Example:

versteckter Link

Starting form the products overview, please try the first 3 entries:
- C1: page not found (links to /products/c1/ but it hould be /produkte/c1/)
- C2: german page ok, english page not found
- C3: page not found (links to /products/c3/ but it hould be /produkte/c3/)

What's going on?!!! The redirection plugin is not active anymore.
Do you need FTP and MySQL access?

#1935199

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

As I shared I was able to see the product single post translated with produkte post type slug in URL - I'm passing this ticket to another supporter (Jamal) who works in weekend to ensure you should receive the support in weekend.

#1935425

Hello Björn,

First of all, I saved the permalinks again to flush any rewrite rules, then I visited the page versteckter Link
The first time I opened a German product, I encountered an ERR_TOO_MANY_REDIRECTS error on the original product, but only once. I visited 6 products in both languages without issues. Check this example versteckter Link

I can see there is a difference between the CPT slug in Types definition and in WPML settings, but I don't see any errors generated by it. I might need to take a copy of your website to debug this further and find out what's makes the slug appear differently in Toolset Settings.

Let me know if that's fine with you, so I can install the Duplicator package and take the copy.

#1935769

Hello Jamal,
thanks for the continuing support.
I checked your example with product "C1", but I still get "page not found". I don't know what causes this.
Please install Duplicator and take a copy. The faster we get to the bottom of this the better.
Thanks guys for your work!

#1936707

I took a copy of your website and worked on it locally. I couldn't fix it, so I thought it may be a new bug introduced by the latest updates of Types or WPML. So, I tried a clean install and I was not able to reproduce similar issues.

So, I did the following in my local copy and it fixed the issue, then I did the same on your site and it seems to fix the issue. Now, I am able to access archives and products in both languages:
- versteckter Link
- versteckter Link
- versteckter Link
- versteckter Link

1. Disabling slug translation in WPML->Settings->Multilingual Content Setup->Slug translations.
2. Removing all registered slugs in WPML->String Translation.
3. Adding a custom rewrite base for the post type. Check this screenshot versteckter Link
4. Enabling slug translation in WPML->Settings->Multilingual Content Setup->Slug translations.
5. Translating the slug in WPML->Settings->Multilingual Content Setup->Post Types Translation.
6. Flushing rewrite rules by saving permalinks twice in Settings->Permalinks.

Can you please check from your side if the issues are fixed or if there is any issue I missed?

#1936881

Hi Jamal,
thanks a lot, great work!

Most of the poducts seem to be fine, but I discovered an error for the following example:

1. Go to versteckter Link
2. Click on "TMH" (5th entry). This leads to versteckter Link which doesn't show any content.

It seems that the URLs are not generated correctly throughout all entries.

Can this be solved by flushing the permalinks a couple of times?
Or are other changes in the WPML settings necessary?

#1936903

I think that it is probably a cache issue. From my side, I can see that the URL is generated correctly versteckter Link

I assume that was some cache that is now purged.