Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Translated versions of page URLs

Simple Membership Plugin › Forums › Simple Membership Plugin › Translated versions of page URLs

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 11 months ago by andyjone.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 27, 2017 at 2:11 pm #12798
    andyjone
    Participant

    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.

    December 27, 2017 at 10:39 pm #12804
    mbrsolution
    Moderator

    Hi, unfortunately I don’t use Polylang myself. I have sent a message to the developers to investigate further your issue.

    Thank you

    December 28, 2017 at 6:00 pm #12810
    andyjone
    Participant

    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.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy