Arrow

re-direct to users custom directed page instead of "visit site" link in admin? | Peter's Login Redirect | Forum

Back to the login redirect plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
re-direct to users custom directed page instead of "visit site" link in admin?
May 11, 2010
3:51 am
Christine
Guest

Hi there,
I wondered if there was a way to change it so that the "visit site" link in the top of the WordPress admin area can go to the logged in users re-directed page (set for when they log in) instead. I have read that the link can be changed by editing the admin-header.php, but I don't know if this would be possible.

Thanks
Chris

May 13, 2010
7:27 am
Peter
Admin
Forum Posts: 841
Offline

You can probably do that in admin-header.php if you replace:

trailingslashit( get_bloginfo('url') );

With:

redirect_to_front_page('', '', $current_user);
May 14, 2010
6:27 am
Christine
Guest

Thanks, I'll have a go :)