wordpress login redirect: Open your WordPress/wp-login.php file, and find this line:$redirect_to = admin_url(); and replace it with this: $redirect_to = get_option(‘siteurl’); After login, Page will be redirected to home page WordPress logout redirect: find this code wp_safe_redirect( $redirect_to ); in Switch statement and in case ‘logout:’ Then add this code before that line $redirect_to = […]
Read More…