Skip to content Skip to sidebar

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

Problem:
You are trying to ensure that the shortcode [privacy_policy] correctly links to the German version of the Privacy Policy page on your site, but it opens the English page instead.
Solution:
We recommend removing the shortcode and replacing it with a direct link to the Privacy Policy in the desired language. Here is an example of how you can phrase it:

Your personal data will be used to process your order, support your experience throughout this website, and for other purposes described in our <a href="https://tenerife-trips.com/de/datenschutzrichtlinie/?lang=de">Privacy Policy</a>.

Additionally, translate the slugs using WPML -> String Translation and then resave your permalinks. This should ensure that the links direct to the correct language version of your pages.

If this solution does not resolve your issue or seems 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 further assistance is needed, 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.

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by emanuele 1 month, 1 week ago.

Assisted by: Lauren.

Author Posts
June 26, 2025 at 5:31 pm

emanuele

Background of the issue:
I am trying to ensure that the shortcode [privacy_policy] correctly links to the German version of the Privacy Policy page on my site hidden link. The shortcode is translated to German as Datenschutzerklärung.

Symptoms:
The link generated by the shortcode opens the Privacy Policy page in English instead of the German one (hidden link).

Questions:
How can I make the shortcode [privacy_policy] link to the correct German page?

June 26, 2025 at 7:10 pm
June 27, 2025 at 8:03 am #17176322

emanuele

Lauren of you support said that she was going to fix the issue, I gave her the credentials but she did not fix it

June 27, 2025 at 1:21 pm #17177623

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I have not been able to find a solution yet, but am currently working on the issue. As soon as I have a solution, or if I need any other information, I will update here in the ticket.

June 27, 2025 at 10:59 pm #17178823

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

After much trial and error, I was able to resolve this by removing the shortcode and replacing it with the following:

Your personal data will be used to process your order, support your experience throughout this website and for other purposes described in our hidden link">Privacy Policy.

and translating the slugs in WPML -> String Translation and then resaving permalinks. Please let me know if you need any further assistance and I will be happy to help.

June 28, 2025 at 9:48 pm #17179720

emanuele

Hello Lauren, thank you very much for fixing the issue. Best regards