- This topic has 2 replies, 2 voices, and was last updated 8 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Translated versions of page URLs
Hi, I am using Polylang on my web site to create a version of my site translated into Welsh. Polylang creates different URLs for the translated pages. This causes an issue with the URLs in the Simple Membership Plugin settings, because the plugin settings specify a single URL for each special page (e.g. Join Us, Password Reset etc) but I have two versions of each page, one for English and one for Welsh.
What I want is when the user clicks Forgot Password using the English version of the site, I want them to go the standard Password Reset page that’s defined in the settings. But when they are using the Welsh version of the site I want them to go to the translated version of that page. But what happens is that they are sent to the English version.
Is there a way round this to say if I’m using English, the Password Reset page is X, and if I’m using Welsh, the Password Reset page is Y?
To see this in action you can go to corcymraegcoventry.co.uk, click Cymraeg, select Aelodau/Mewngofnodi (Members/Login), click Wedi Anghofio’r Cyfrinair (Forgot Password) – you are then taken to the English version of the Password Reset page.
I hope someone can help on this, thank you.
Hi, unfortunately I don’t use Polylang myself. I have sent a message to the developers to investigate further your issue.
Thank you
Thank you.
Meanwhile I have found a workaround which seems to work. I have hidden the Reset Password link in CSS using display:none and instead I output the link using a PHP snippet, allowing me to check the language in the PHP and and set the href to the page I want depending on the language.
If there isn’t a “proper” way I will continue doing it like this.