WP Login Page Redirect
//******************************************************************
//******************************************************************
//********** REDIRECT WP LOGIN PAGE TO OUR SITE HOME PAGE **********
//******************************************************************
//******************************************************************
//Fires page : /wp-login.php
add_action( 'login_head', 'myplugin_add_login_fields' );
function myplugin_add_login_fields()
{
if (strpos($_SERVER["REQUEST_URI"], '/wp-admin/') === False)
{
wp_redirect( home_url( '/' ) );
die();
}
}
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.