WordPress’ logout action by default redirects you back to the login page. Here’s an easy way to set up logout redirection to your home page instead.
- Go to your theme’s functions.php. This can be found under Appearance/Editor.
- Paste the following code at from the bottom link of your functions.php.
- https://gist.github.com/bwhli/bb63d1330afc9c64df78
Question and answer is powered by AnsPress.io