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 20 replies, has 2 voices.

Last updated by logriseL 4 years ago.

Assisted by: Marcos Vinicios Barreto.

Author Posts
May 17, 2021 at 1:42 pm #8781301

logriseL

Right now we have a problem with the breadcrumbs, when i am in the default language, which is Portuguese, we display the breadcrumbs, and when i press the link that comes before the current page, like the photo suggests, it changes always the language to English.Is this a WPML bug? Appreciate all your help towards this!

As you can see in the bottom the url goes to a non english page, while my page is currently in english language...

Hope i could explain my self, anything you need to resolve this issue pls inform me that i will try and give all the information possible

May 18, 2021 at 1:05 pm #8790735

Marcos Vinicios Barreto

Hello,

Thank you for contacting our support service. I took a look at your website and confirmed the issue, it would need a detailed investigation, for that, please consider:

To best troubleshoot the issue, please make a snapshot of your site using the Duplicator plugin: https://wordpress.org/plugins/duplicator/. This will allow me to try and duplicate the error so that I can run further tests without interrupting your live site.

Once the snapshot is complete, either upload the snapshot ZIP file and the installer.php file to a file sharing service such as Dropbox (and share the link in your reply) or right click the Duplicator links in your wp-admin and paste in your reply.
Please note: It is important to reduce the size of the package so please exclude some paths like /cache or /uploads and also exclude archives and media files.I will also need the username and password of an account that was created BEFORE creating the duplicator package.I will enable the next reply to be private so only you and I have access to it!

Thank you for your collaboration. Have a nice day.

May 20, 2021 at 2:07 am #8803975

Marcos Vinicios Barreto

Hello,

Thank you for the provided details. I took a look at the provided staging website and proceeded with a detailed troubleshooting and investigation, the issue persists which makes me to believe it could be related to a possible compatibility issue, in these cases, these are the procedures:

  • Install the theme/plugin in a clean installation and reproduce the problem in this new installation. So we can isolate it and do some testing without the interference of server settings or other plugins
  • After this, I will check the problem in this new installation and look for a quick solution
    If I can not find a solution, I will forward the problem to our compatibility team.
  • The compatibility team will do some more testing and will contact the product author to fix the issue

I created a test website with a clean WordPress install. You can access it through this link:
hidden link - Through this link you will be automatically logged in.

Please upload the (theme/plugin) to this test install, setup it the same way as in your website (using the same options) and create some dummy content to reproduce the issue. Please note that we only need the (theme/plugin) and the related functionality, you don't need to setup a entire website or clone your existing site. The fewer plugins the better.

After that, please send us clear steps on how to see/reproduce the issue on this test install. We will run some tests.

Please, let me know when you are ready, thank you for your collaboration, have a nice day.

May 20, 2021 at 8:46 am #8806345

logriseL

Good Morning, the website we sent you, as an URL, called stage.logrise, it had everything we have in our main site, and there you can do all tests you want without a problem
I am going to leave the url once again here if needed, hidden link
The Login is the same that i gave to Lauren, but if needed you can ask that we will give it once again
Again, i appreciate for all the help
Have a great day

May 21, 2021 at 2:41 pm #8819835

Marcos Vinicios Barreto

Hello,

Thank you for the updates. I recreated the entire issue from scratch and confirmed it as a compatibility issue, I moved this ticket to our compatibility team for a detailed investigation. I will update you here as soon as I have some more details.

Thank you for your patience and understanding, have a nice day.

May 26, 2021 at 3:46 pm #8853443

logriseL

Good Afternoon, just wanna check how is the situation going and if there is any updates
Have a great day

May 27, 2021 at 7:07 pm #8862865

Marcos Vinicios Barreto

Hello,

Thank you for the updates and sorry for the waiting here. I was able to fix the issue with these steps:

1 - I deleted all the categories terms in all the languages.

2 - I re-added the categories terms in the default language.

3 - I translated the categories terms and adjusted the categories hierarchy synchronization from WordPress Dashboard > WPML > Taxonomy Translations settings.

4 - Then, I reassigned the proper categories for the problematic post in the default language.

5 - I deleted the english post and re-added it again.

6 - Then, from WordPress Dashboard > WPML > Support I clicked the 'Troubleshooting' link and then, clicked the 'Synchronize posts taxonomies' for the 'Posts' post type.

You can see the results at:

Portuguese: hidden link

English: hidden link

Note: I recommend you to manually edit the post in the secondary languages using the standard WordPress post/page editor and make sure the translated posts ideed have the exact same category structure of the default language post.

Please, let me know if it helps to fix your issue. Have a nice day.

May 28, 2021 at 10:35 am #8867043

logriseL

Good Morning,
I found that there is a problem still...now it gives a 404 error
Is there a reason for that?

May 28, 2021 at 8:16 pm #8870501

Marcos Vinicios Barreto

Hello,

Thank you for the updates. I noticed everything works properly when you resave the category base strip settings from your WordPress Dashboard > SEO > Search Appearance > Taxonomy > Category URLs options, then, you resave your permalinks from your WordPress Dashboard > Settings > Permalinks options. You can confirm it at:

English:
hidden link
hidden link

Portuguese:
hidden link
hidden link

Hope it helps, have a nice day.

May 31, 2021 at 10:03 am #8880339

logriseL

Good Morning, yes i can see now, amazing that you were able to fix it, but is there any ohter way possible of doing this? since we have a lot of pages and it would be a big of a work there
Thanks once again for your help

May 31, 2021 at 2:44 pm #8883193

logriseL

Good afternoon, after a few hours womdering around here using methods that you said, i can confirm that the pages only work if the category slugs are the same for both languages, i dont know why this happens...

May 31, 2021 at 11:23 pm #8885263

Marcos Vinicios Barreto

Hello,

Thank you for the updates. As said we need to confirm if we have a compatibility issue, if we have it, then we'll investigate all the details, at my first tests, I wasn't able to replicate the issues. Do you see these issues in our test environment at: hidden link? No need to install all the plugins, just the minimal required to replicate the issues.

Please, try to reproduce it and let me know if it happens, then we move forward in the compatibility tests.

Thank you for your collaboration and patience, have a nice day.

June 1, 2021 at 8:13 am #8887465

logriseL

Good morning,
sorry but we cant do that,as we dont have the template instalation to replicate the issue...
can you please send it to the compatibility team please?

June 1, 2021 at 8:59 am #8887865

logriseL

Just another quick note, it only works perfectly without any errors when i do SEO>SEARCH PRESENTATION>TAXONOMIES>CATEGORIES URL and put it as KEEP, but the problem with that, is that is going to show always in url the word "category"

June 1, 2021 at 5:40 pm #8892541

Marcos Vinicios Barreto

Hello,

Thank you for the updates. Could you please, confirm if you see the same issue using this plugin: https://wordpress.org/plugins/no-category-base-wpml/ instead of the remove category base from Yoast? The end result will be the same, please, make sure to resave your permalinks from your WordPress Dashboard > Settings > Permalinks settings.

Please, let me know, have a nice day.