The default behavior of WordPress is to redirect after logging out to /wp-login.php

If you would like to send members to a special page after they logout instead of the normal WordPress behavior, you can use the below script to accomplish this. Just replace the URL with the full URL (including http or https) of the page that you would like to use for the redirection.

The above script should be added under /wp-content/mu-plugins or a custom functions plugin such as this one.

Leave a Reply

Your email address will not be published.