• I have a website that has been inactive for some time now. At some point it went down and I’m now starting to look into it. This is the error you get when you go to any WordPress-based page on the site, including the wp-admin:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    Static pages on my server work fine and all of my databases are intact. Somehow, something changed where now my site is completely dead.

    Anyone know where I should start looking? Does anyone know what I should look for or what could be a source for bringing this error for all pages? .htaccess file perhaps?? Also, if I have to contact my hosting, what questions should I have for them?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Not sure really, but my first guess would be to check the permissions on the files.

    Thread Starter bartman316

    (@bartman316)

    hey thanks. As a test, I set the CHMOD on everything in the “wp-” folders and the .htaccess to 777 and still getting the internal server 500. Any other files/directories I should be looking at?

    Hi,

    Add this code in htaccess:

    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Also assign 766 recursive permissions to wp-content directory.

    Thanks,

    Shane G.

    Try renaming your .htaccess files (in the root, wp-admin, and any other directories you have a .htaccess file) to something else, like htaccess-bak

    This will disable your .htaccess file. Sometimes wrong code or incompatible code with your web host’s options will cause this error.

    If your site pulls up, then go through each line (a block at a time) in your .htaccess file until you pin down what’s causing the issue.

    Don’t forget to rename your .htaccess file back to it’s original name, btw.

    Thread Starter bartman316

    (@bartman316)

    Thanks for the reply but it looks like this isn’t the issue. I’ve renamed/deleted the .htaccess completely, and also added the recommended code above but am still running into this. Also tried 766 as recommended.

    I’ve contacted my hosting with the same question to see if they could detect anything. Is there anything else I should be looking at besides the .htaccess file?

    Thread Starter bartman316

    (@bartman316)

    RESOLVED!

    any file in your public_html directory must be in 644 permissions and each file must be in 755 permissions in order to work correctly. This is simply due to the fact that our shared server run in a suPHP enviroment. I have corrected all of the permissions in your account and now your site is resolving fine.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘500 Internal Server Error on all WP pages’ is closed to new replies.