Title: wp-login.php error
Last modified: August 18, 2016

---

# wp-login.php error

 *  [ysidoro](https://wordpress.org/support/users/ysidoro/)
 * (@ysidoro)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/wp-loginphp-error/)
 * I have just install CVS version 2004-02-03 and the wp-login.php has an error 
   in:
    ` case 'login' : {...} $redirect_to = $site . '/wp-admin/profile.php';  
   it must be say:  case 'login' : {...} $redirect_to = $siteurl . '/wp-admin/profile.
   php';  Regards, Rodolfo Pilas p.s: If you have any other way to report bugs or
   suggestion, please, tell me.

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

 *  [pezastic](https://wordpress.org/support/users/pezastic/)
 * (@pezastic)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/wp-loginphp-error/#post-34378)
 * Just curious … what does that do?
 *  Thread Starter [ysidoro](https://wordpress.org/support/users/ysidoro/)
 * (@ysidoro)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/wp-loginphp-error/#post-34495)
 * If you do not have the $siteurl varialbe, the user can not find profile.php after
   login. Perhaps it works if you has WP in the root of your server (/) but it do
   not work if you have into a directory (i.e. /wordpress/).

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

The topic ‘wp-login.php error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ysidoro](https://wordpress.org/support/users/ysidoro/)
 * Last activity: [22 years, 2 months ago](https://wordpress.org/support/topic/wp-loginphp-error/#post-34495)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
