I am developing a personalized wordpress theme according to a current site.

I wish to make use of an alternate dashboard which i've produced.

How do i possess the user forwarded to 'news.php' after login rather than '/wp-admin/' ?

Text version of my functions.php

--

EDIT: Possess a working Plug-set for this however the bounty continues to be availible for anybody who are able to look for a manual method of doing this through functions.php, as it might be safer then using a third party plug-in.

This will solve your condition. Modified from a solution found here.

function admin_default_page() {
  return '/new-dashboard-url';
}

add_filter('login_redirect', 'admin_default_page');`
add_action('wp_head','redirect_admin');
function redirect_admin(){
  if(is_admin()){
    wp_redirect(WP_HOME.'/news.php');
    die; // You have to die here
  }
}

Or maybe you simply want to redirect other customers:

add_action('wp_head','redirect_admin');
function redirect_admin(){
  if(is_admin()&&!current_user_can('level_10')){
    wp_redirect(WP_HOME.'/news.php');
    die; // You have to die here
  }
}

The functions.php file does not have anything related to login redirect, what you need to be thinking about it is the wordpress-login.php file, you are able to really alter the entire login interface after that, and pressure customers to redirect for your custom pages rather than the /wordpress-admin/ directory.

Open the file with Notepad if using Home windows or any text editor, Prese Control + F (on window) Find "wordpress-admin/" and alter it towards the folder you would like it to redirect to after login, still on a single file Press Control + F, find "admin_url" and also the alter the file title, the default file title there's "profile.php"...after just save and provide an attempt.

if ( !$user->has_cap('edit_posts') && ( empty( $redirect_to ) || $redirect_to == 'wp-admin/' || $redirect_to == admin_url() ) )
        $redirect_to = admin_url('profile.php');
    wp_safe_redirect($redirect_to);
    exit();

Or make use of the "registration-login wordpress plugin" http://wordpress.org/extend/plugins/registration-login/, just simple edit the redirect web addresses and also the links to in which you would like it to redirect after login, plus you've got your own custom profile.

The Theme My Login wordpress plugin might help - it enables you to definitely redirect customers of specific roles to a particular pages.