Tips / Recommendations Redirect to homepage when logout wordpress Posted 11/09/202211/09/2022 onmywaystudio // On functions.php of your child theme or in a code snippet: add_action('wp_logout','auto_redirect_after_logout'); function auto_redirect_after_logout(){ wp_redirect( home_url() ); exit(); }