• I want users to login, and then to go back to mainpage instead of their dashboard/siteadmin area.
    How can I do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Change “$redirect_to = ‘wp-admin/’;” to “$redirect_to = get_settings(‘home’);” on line 290 in your “wp-login.php” file.

    Thread Starter magnusprime

    (@magnusprime)

    Ah. So its a hack of the core, so that when I upgrade I lose that change. Its not a setting. OK. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I direct where users go after login’ is closed to new replies.