This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue with the BetterDocs plugin on a multilingual site using WPML. When attempting to switch languages on a specific page, the redirection fails, stopping at an intermediate page instead of reaching the correct translated page. This issue is observed with incorrect URLs being generated for language switches.
Solution: We recommend modifying the BetterDocs plugin code to ensure correct URL generation when switching languages. Here are the steps: 1. Open the file
This modification should correct the URL generation issue. If this solution does not resolve your problem, or if it seems outdated or irrelevant to your case, please visit our support forum to open a new ticket. We also 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.
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.
we have given you access in emails before.
Just take the same dotudy.
But before you start your work, please let us know at what time you will be watching our site, so that we do nothing. According to Greenwich.
Yes OK. just do not reconfigure themselves something. We need to do it ourselves according to your examples in order to control all changes (for example, links will become broken)
1) I tried to login to check, but I got an error message. (Unknown email address. Check again or try your username.)
2) I won't change anything. I'll check the strings and the slug translation. However, if I couldn't spot the issue, I would need you to replicate the issue on the sandbox site for further debugging or if you have a staging site to debug the issue.
I have uploaded BetterDocs and BetterDocs PRO to the SandBox website. I hope the WPML team will help you to fix this.
I am sorry for this delay. Using all the BetterDocs default features, then the WPML will work smoothly. I noticed that you have made some pages in a custom way and also applied some custom conditions. Maybe it could be a reason for this issue.
Thank you
Congratulations, you now have access to the pro version.
1) Thanks for your update. Could you please check my previous reply and let me know if the suggestions mentioned helped you fix the issue?
2) Thanks for uploading and activating the BetterDocs plugin on the sandbox site. Would you please replicate the issue on the sandbox? If the issue is replicable, please let me know the steps to reproduce it.
Thank you, the pages are loading in WordPress. This issue is not related to WPLMS as apart from the App section or Courses or Profiles rest of it is like a regular WP theme.
Everything in the issue is related to third party, third part post type, third party taxonomy, third party interface. I am sure the issue lies between BetterDocs + WPML.
However, I can see in the source the link generated seems correct but it kind of redirects to the page you have.
hidden link
redirects to
hidden link
Please check "Tool levels" is translated and synced in WPML. Since this is heirarchial taxonomy.
these are your recommendations hidden link
not yet fully verified.
Thanks for your update. I'd need to consult our compatibility team regarding this issue, but we need to replicate the issue on a fresh installation in order to isolate it.
Could you please log in to this sandbox site, upload the latest version of BetterDocs, and activate the pro version? (hidden link)
After that, please create a knowledgebase, category, and post to replicate the issue. If the issue is replicable to the sandbox site, please let me know the steps to reproduce it, so I can escalate the issue.