As we know, the cause of HTTP error 500 – now let’s check how to fix 500 internal server error on your WordPress website. As multiple fixes are mentioned below, we recommend you test them chronologically to get results as quickly as possible.
Re-Upload WordPress Core Files
We’ve been through the common cause and quick fixes to the HTTP 500 internal server error. Now that, if any of it didn’t work you better re-set up WordPress by reuploading its core files rather than draining your valuable time.
There are two methods you can consider to reupload core WordPress files; 1) Using Web Hosting File Manager and 2) Accessing FTP Servers with tools like Filezilla.
Download WordPress Core Files From WordPress.Org
Step 1: Visit WordPress.org.
Step 2: Under Download & Extend Dropdown, Select Get WordPress.
Step 3: To Download Files, Tap on “Download WordPress 6.3”.
Step 4: Extract the Downloaded WordPress folder.
Step 5: There you go with all WordPress Core Files.
Steps of Re-uploading WordPress Core Files Using Web Hosting File Manager
Step 1: Navigate to Web Hosting cPanel → File Manager.
Step 2: public_html → wp-admin – There you’ll get to see current web files (WordPress 500 error corrupted). If you want to take a backup or any content better download those files first and then delete all files.
Step 3: Once your wp-admin folder gets empty, upload all content files extracted from the downloaded WordPress folder.
Steps of Re-uploading WordPress Core Files Using FileZilla
Step 1: Connect with the web’s FTP server by adding details.
Step 2: public_html → wp-admin – There you’ll get to see current web files (WordPress 500 error corrupted). Suppose you want to take a backup or any content better download those files first and then delete all files.
Step 3: Once your wp-admin folder gets empty, upload all content files extracted from the downloaded WordPress folder.
Enable Debug Logs in WordPress
It is an in-built WordPress tool that analyzes errors on your website. To activate it first you’ll need to install it – To get an overview you can visit the official WP Debugging Plugin plugin page.
Once, you are done with its activating process, it will list out errors from the overall website helping you to focus work on a specified error at a time. In case, you don’t have access to your WordPress admin dashboard you can – you can add the below code snippet in the wp-config.php file.
To ensure that things go well, you can navigate to public_html → wp-admin → wp-content. You’ll get to see a new file named debuge.log – in which all errors and warnings occurring on the website will be listed.
Contact the Server Administrator
End of the day, all we can cheer up is a valuable result – no matter how long the task took. The same goes for the cause of 500 internal, even after all methods if the error persists better to get support from the web hosting team.
As web hosting providers hold access to each server’s logs, their WordPress experts locate the root cause of the error and help you understand the issue and available methods to fix it. Moreover, if you ask them to re-install with a third-party theme/ plugin then will assist you with that too.
Sign in to leave a comment.