How to Fix 500 Internal Server Error for WordPress Website – WPColt

Spread the love
  • 1
  •  
  •  
  •  
  • 2
  •  
  •  
5 (100%) 7 votes

How to Fix 500 Internal Server Error

If you encounter 500 Internal Server Error on your WordPress Website, you are at the right place. Below I,m going to show you how to solve this issue. Step by step to fix the problem.

 


5 Steps How to Fix 500 Internal Server

Step 1 Contact Your Hosting Company

To contact your hosting company to investigate what is the problem, this is the first step you should do before anything. As this error is a very general HTTP status code which is not sure what is the problem that causes this. That’s mean there is something wrong with the website’s server. There might be the problem from your end, your application running on the server or might be issue arised from your host. You should contact them to have a check first. Some of the hosting company will help you solve and fix your WordPress issue. This is a list of the server error codes that you can refer.

 


Step 2 DO NOT 100% Believe Your Host

Why did I say so? If your Host tells you that your server is fine, we shouldn’t always trust them 100% but we have to check the server again.

To check your server is running well, please download this simple php page code   THIS LINK.  After you have downloaded the file, please upload it to your root folder. You will visit YOUR_DOMAIN.com/info.php. If the server is running well, it should be showing some server info. If you still get the 500 Internal Server Error, that’s mean server having problem, as the php file is just a line of simple code and do not depend on anything to load. You can go back to your host again and let them know about this.

 

READ  Ultimate Guide on How to Start Online Electronics Shop With WooCommerce

Step 3 CHECK .HTACCESS FILE FOR ERRORS

Login into your CPanel dashboard or usinh FTP access to your website files, rename .htaccess file to .htaccess_old.  The .htaccess file will be located at the root of the website [public_html]

edit-htaccess-file

After you rename your .htaccess file, please visit your website again to check if the error has been solve. If yes, this is the issue that causes website down.

After that, please go to Setting –> Permalinks page in WordPress admin panel and Click “Save” without making any changes. This will help you regenerate the new .htacess file for your website and rewrite the rules and make sure website do not back to the error.

If this method still not work for you, please continue step 4.

 


Step 4 To Rule Out Any Issue on Your WordPress Core Files

Sometimes might due to WordPress installation issue. It might due to the files corrupted, be missing or changed. This step we going to re-install WordPress core files

  1. Get the latest WordPress zip (or tar.gz) file.
  2. Unpack the zip file that you downloaded.
  3. Deactivate plugins.
  4. Delete the old wp-includes and wp-admin directories on your web host (through your FTP or shell access).
  5. Using FTP or your shell access, upload the new wp-includes and wp-admin directories to your web host, in place of the previously deleted directories.
  6. Upload the individual files from the new wp-content folder to your existing wp-content folder, overwriting existing files. Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existing wp-content directory (except for the one being overwritten by new files).
  7. Upload all new loose files from the root directory of the new version to your existing wordpress root directory.

NOTE – you should replace all the old WordPress files with the new ones in the wp-includes and wp-admin directories and sub-directories, and in the root directory (such as index.php, wp-login.php and so on). Don’t worry – your wp-config.php will be safe.

When replacing the files, please be careful to replace only the necessary files only, rather that replacing entire wp-content directory.

 

READ  How to Fix the Error Establishing a Database Connection in WordPress

Step5  Check if your plugin or theme issue

This step to check if the error coming from active plugin or theme. Access to your website files via FTP or CPanel Dashboard. Go to WP-Content –> Plugins. Rename Plugin Folder to Plugin_OFF. Now try to reload the website, as now all the plugin are deactivated. If your website is running now, no more 500 Internal Error Issue, so we know this is the plugin issue. Now go back to the folder and rename it back to the original name.

Login to your WordPress wp-admin dashboard, go to plugin panel, turn the plugin on 1 by 1 until and reload the website until you find one of the plugins causes issues.

If the website is caused by active theme. Go to WP-content –> Themes. Now rename Themes folder to Theme_OFF. Reload the website to check if the theme causes the issue.

I hope that by following these steps you are able to find your problem, please comment below if you encounter any problem or this post is helpful. 

Thank You

 

(Visited 55 times, 1 visits today)
  • 3
    Shares

Admin

I write about Multilingual WordPress, SEO, Website Performance, Plugins and Themes. Also, I like answering WordPress question on Quora. I like to research and review for Wordpress Plugin! Look for me if you have any Wordpress product! https://wpcolt.com/advertise/

Hopefully you'll come back soon!
Get More Stuff
WordPress Multilingual, Performance, SEO, Reviews and HOT Deals. One email per week!
Stay Updated
Give it a try, you can unsubscribe anytime.
Close
GET MORE STUFF
IN YOUR INBOX
WordPress Multilingual, Performance, SEO, Reviews and HOT Deals. One email per week!
Stay Updated
Give it a try, you can unsubscribe anytime.
accumsan velit, eleifend commodo commodo ultricies

Pin It on Pinterest

Do you find this interesting?

Share it with your friends!