Title: WP Admin error 500
Last modified: April 23, 2017

---

# WP Admin error 500

 *  [agilphil](https://wordpress.org/support/users/agilphil/)
 * (@agilphil)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/)
 * Hi there,
 * I somehow screwed up my config, the site responds ok, but admin panel is no longer
   accessible.
 * When I request <MyDomainName>/wp-admin, the request is rewrited into :
    `http://
   <MyServerIPAdress>/blog/wp-login.php?redirect_to=http%3A%2F%2F<MyDomainName>%
   2Fwp-admin%2F&reauth=1
 * And the browser is blank. Audit of requests shows redirec raises html error 500.
   Also named as Blank Page Of Death, is it?
 * Could anyone give me a hand please?
 * Cheers,
    Phil

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

 *  [jassu22](https://wordpress.org/support/users/jassu22/)
 * (@jassu22)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058157)
 * It’s a stack over flow
 *  [sinip](https://wordpress.org/support/users/sinip/)
 * (@sinip)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058161)
 * Server error 500 and the “white screen of death” are not necessarily the same
   thing. If you’re getting 500, the details are logged in your error.log file, 
   usually located at your hosting root. You could take a look and post most recent
   entries.
    In the meantime you can try to rename.htaccess to htaccess.old, just
   to see if that will take care of that redirect problem.
 *  [jassu22](https://wordpress.org/support/users/jassu22/)
 * (@jassu22)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058180)
 * Go to your database, and find the table called wp-option, then change the wordpress
   address and site address to mysite.net.
 * You can also add the following lines of code to the wp-config.php-file
 * Define(‘WP_SITEURL’,’[http://your-site-url.com&#8217](http://your-site-url.com&#8217););
   
   Define(‘WP_HOME’,’[http://your-site-url.com&#8217](http://your-site-url.com&#8217););
 *  Thread Starter [agilphil](https://wordpress.org/support/users/agilphil/)
 * (@agilphil)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058373)
 * [@jassu22](https://wordpress.org/support/users/jassu22/), sinip, thank you.
 * Here are the configs at the moment :
    – wp-config.php [https://pastebin.com/pXp7vqYZ](https://pastebin.com/pXp7vqYZ)–
   wp-login.php [https://pastebin.com/WxFazbuK](https://pastebin.com/WxFazbuK)
 * Siteurl and home in wp-option table = [http://<MyIPAdress>/](http://<MyIPAdress>/)
 * Noting changed with different trials I made to these files. Except now both admin
   and the actual website are on error 500 …
 *  Thread Starter [agilphil](https://wordpress.org/support/users/agilphil/)
 * (@agilphil)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058384)
 * [@sinip](https://wordpress.org/support/users/sinip/), I had tried changing .htaccess
   name, and reverted to the very standard wp codex version of it. No change.
    Still
   looking for this error.log file but can’t locate it, even with find / -type d-
   name “error.log”. What could be the cause?
 *  [sinip](https://wordpress.org/support/users/sinip/)
 * (@sinip)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058391)
 * Well, as the last resort you can try asking your hosting support about the location
   of that log file. Hard to guess where it might be because every hosting provider
   might have own idea about its location.
 * How about restoring your website from a recent backup if everything else fails?
    -  This reply was modified 9 years ago by [sinip](https://wordpress.org/support/users/sinip/).
 *  Thread Starter [agilphil](https://wordpress.org/support/users/agilphil/)
 * (@agilphil)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058396)
 * [@sinip](https://wordpress.org/support/users/sinip/), the server is dedicated,
   so I have access to the whole directory tree, and the find command should have
   located for me, isn’t it ?
 * I’d rather not reinstal the whole thing for now, but yes, I may become an option
   🙂
 *  Thread Starter [agilphil](https://wordpress.org/support/users/agilphil/)
 * (@agilphil)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058403)
 * In fact what should the wp-admin, wp-config, wp-login files, and options table
   look like : all in “MySiteUrl” form ?
 * Or : must some of these be in “IPAdress” and others in “MySiteUrl” form ?
    -  This reply was modified 9 years ago by [agilphil](https://wordpress.org/support/users/agilphil/).
 *  [sinip](https://wordpress.org/support/users/sinip/)
 * (@sinip)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058405)
 * True that. Maybe it is named differently? Anyway, ask your hosting support, you
   have nothing to lose.
 *  Thread Starter [agilphil](https://wordpress.org/support/users/agilphil/)
 * (@agilphil)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058419)
 * Apache default.conf file has:
 *  ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log
   combined
 * So, there should be a such error.log somewhere. None.
    Do we speak of Apache 
   errors or something else ?
 *  Thread Starter [agilphil](https://wordpress.org/support/users/agilphil/)
 * (@agilphil)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9058679)
 * I’m reinstalling.
    Would you have a pointer for accessing the site from [http://MyUrl](http://MyUrl)
   and not [http://MyUrl/wordpress](http://MyUrl/wordpress) please ?
 * Install directory is /var/www/wordpress
 *  [sinip](https://wordpress.org/support/users/sinip/)
 * (@sinip)
 * [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9059345)
 * Sorry, I’ve lost you here… If you’re asking about the default install directory,
   it doesn’t have to be `/wordpress`, you can install it in root, if that’s the
   only website at your server.

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

The topic ‘WP Admin error 500’ is closed to new replies.

## Tags

 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 3 participants
 * Last reply from: [sinip](https://wordpress.org/support/users/sinip/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/wp-admin-error-500-2/#post-9059345)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
