Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: WP-admin

Discussion in 'Misc WordPress Requests' started by Kakshak Kalaria, Nov 30, 2017.

  1. Kakshak Kalaria


    Reply To: WP-admin, by Kakshak Kalaria

    Hello @scottkr24,

    By default, WordPress will redirect them to the login page of your website, but we can easily change it by adding following snippet to current theme’s functions.php file:

    function kk_auto_redirect_after_logout() {
    wp_redirect( 'https://www.example.com' );//URL you want to redirect


    Reply To: WP-admin

Share This Page

Monarch Social Sharing Plugin