No one wants to buy a plugin or clog up their installation any more than is necessary. If you don’t like what happens when people log out of your site, then you’ll want to send them somewhere else; maybe the home page, or better yet, to a survey page where you can get some quick feedback.
I’m not a fan of adding code; some things should just be built into a system… so I’m looking for the easiest way to get folks where I want them to be using the standard WordPress login (I do not like the standard WordPress login setup; I want to get rid of the WP logo and if someone logs in (or out in this case), I want them to go where I want them to go. So… go to > Appearance > Theme Editor then make sure you are working with the theme you want to use on the site (and hey, I know this is a short bit of code and hey, I didn’t… but) do a backup before making any changes in the Theme Editor. Once you have the Theme Editor up…
Add this snippet of code to functions.php (I added mine to the very bottom)
add_action(‘wp_logout’,’auto_redirect_external_after_logout’);
function auto_redirect_external_after_logout(){
wp_redirect( ‘https://atlanticwebfitters.com’ );
exit();
}