Title: wp_safe_redirect
Last modified: August 18, 2016

---

# wp_safe_redirect

 *  [hitokiri](https://wordpress.org/support/users/hitokiri/)
 * (@hitokiri)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/wp_safe_redirect/)
 * Hi
 * I installed 2.3 a few weeks ago, and everything went ok, but since a couple of
   days, I suddenly got the following problem
 * Everytime I go to wp-login.php and log in, I get the following error:
    Fatal 
   error: Call to undefined function wp_safe_redirect() in /home/xxx/domains/xxxx.
   com/public_html/wp-login.php on line 328
 * and it logs me in, because if I go to wp-admin, I’m logged. Once there, if I 
   logout, I get the same error but on line 82. Those two lines are just:
 * wp_safe_redirect
 * Any ideas?
 * Thanks in advance

Viewing 1 replies (of 1 total)

 *  [kdaniele](https://wordpress.org/support/users/kdaniele/)
 * (@kdaniele)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/wp_safe_redirect/#post-634190)
 * I am having this problem too at my [http://www.kristinabrooke.org](http://www.kristinabrooke.org)
   site. I have been trying to figure out what’s wrong, but I’ve got nothing. If
   anyone has a clue, please fill us in.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘wp_safe_redirect’ is closed to new replies.

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [troubleshoot](https://wordpress.org/support/topic-tag/troubleshoot/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [kdaniele](https://wordpress.org/support/users/kdaniele/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/wp_safe_redirect/#post-634190)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
