Search code examples
wordpressserver-error

Wordpress 500 Server Error After Database Uploaded


I'm working on uploading a Wordpress website to a client's hosting account. I have it running on a live server where I can show my clients the work that I've done. While moving it to their server, I get the following error on the front end of the site:

Server Error 500 The website encountered an error while retrieving http://websitehere.net. It may be down for maintenance or configured incorrectly.

The steps I've taken are the following:

  1. Tried a fresh install of Wordpress, which worked. A blank install works perfectly. When I uploaded my exported database, the error occurred.
  2. Checked error log, but the log shows no errors. The page is literally blank.
  3. Tried disabling all plugins. Error still persists.
  4. Tried installing on another one of my hosts and that works.

Not sure what to do here. The client wants the site on their hosting account, as they should.


Solution

  • Four Possible stage we can do:

    - Checking for Corrupt .htaccess File Rename .htaccess and load site.It create own file if its not there.

    -Increasing the PHP Memory Limit Sometimes this error can happen if you are exhausting your PHP memory limit.

    -Deactivate all Plugins deactive from admin if you do so otherwise rename pluginfolder and create new blank plugin folder.

    -Re-uploading Core Files

    If the plugin option didn’t fix the internal server error, then it is worth re-uploading the wp-admin and wp-includes folder from a fresh WordPress install. This will NOT remove any of your information, but it may solve the problem in case any file was corrupted.