Title: hemp's Replies | WordPress.org

---

# hemp

  [  ](https://wordpress.org/support/users/hemp/)

 *   [Profile](https://wordpress.org/support/users/hemp/)
 *   [Topics Started](https://wordpress.org/support/users/hemp/topics/)
 *   [Replies Created](https://wordpress.org/support/users/hemp/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/hemp/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/hemp/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/hemp/engagements/)
 *   [Favorites](https://wordpress.org/support/users/hemp/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [change login redirect](https://wordpress.org/support/topic/change-login-redirect/)
 *  [hemp](https://wordpress.org/support/users/hemp/)
 * (@hemp)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/change-login-redirect/#post-193114)
 * This behaviour applies to almost all users except level 0s. To have it also for
   them just comment out the following line in wp-login.php:
 * if ( 0 == $user->user_level )
    $redirect_to = get_settings(‘siteurl’) . ‘/wp-
   admin/profile.php’;
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change the redirect_to to redirect to the last viewed page?](https://wordpress.org/support/topic/how-to-change-the-redirect_to-to-redirect-to-the-last-viewed-page/)
 *  [hemp](https://wordpress.org/support/users/hemp/)
 * (@hemp)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/how-to-change-the-redirect_to-to-redirect-to-the-last-viewed-page/#post-272898)
 * This behaviour applies to almost all users except level 0s. To have it also for
   them just comment out the following line in wp-login.php:
 * if ( 0 == $user->user_level )
    $redirect_to = get_settings(‘siteurl’) . ‘/wp-
   admin/profile.php’;
 * I think thatÂ´s a better solution than always redirecting them to the main page.

Viewing 2 replies - 1 through 2 (of 2 total)