I am trying to set up a logout page. I have tried to create a url like http://WWW.EXAMPLE.COM/?piereg_logout_url=true by adding ?piereg_logout_url=true in the permalink of my wordpress page, but when I am saving it, wordpress cuts the “?” and the “=”, so I end up with http://WWW.EXAMPLE.COM/piereg_logout_urltrue, which of course is not logging out.
How can I create a logout page?
Just please pass the query string to any WP URL no need to register.
What do you mean?
to any URL and it will become your logout url.
This is the problem.
When I paste ?piereg_logout_url=true&redirect_to=<ENCODED_URL> to the wp permalink, it erases the “?”.
You don’t need to paste it to permalinks.
If you wanna place logout URL in your WordPress menu/Post/Pages/Widget,
you can put it as custom link.
This worked, thank you.
You must be logged in to reply to this topic.