Polylang Breaks Logout
-
I have a problem with my Logout links from nav menu caused by Polyland sticking a language code into each logout attempt.
I have a loginlogout menu option through ActiveMember360. When someone logs in there’s no issue, if their viewing in English it takes them to the English login page, if in Welsh they go to the Welsh login page.
The problem is with logouts. As the logout page is a WP process, there’s only one version of that page (i.e. it’s a page in name only, nobody ever sees it). So when they’re in English mode and someone clicks logout it’s all fine, it goes to /logout&nonce etc. But if they’re in the Welsh verison then Polylang tries to stick the cy in there, meaning I get cy/logout&nonce which is a non-existant page.
Is there any way I can tell Polylang to ignore that one link without having to change the settings and remove the language code from all of my pages?
- The topic ‘Polylang Breaks Logout’ is closed to new replies.