{"id":5235,"date":"2019-07-04T10:02:45","date_gmt":"2019-07-04T10:02:45","guid":{"rendered":"https:\/\/wpvivid.com\/?p=5235"},"modified":"2019-07-04T10:02:45","modified_gmt":"2019-07-04T10:02:45","slug":"fix-500-internal-server-error-wordpress","status":"publish","type":"post","link":"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html","title":{"rendered":"How to Fix the 500 Internal Server Error in WordPress"},"content":{"rendered":"<p>If you encounter<a href=\"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html\"> the 500 internal server error on your WordPress site<\/a>, here are a couple of ways to go about it.<\/p>\n<p>One thing I love about tech, especially stuff related to programming is that there is inbuilt error reporting.<\/p>\n<p>Every imaginary scenario in which an app may fail is catered for providing developers accurate information on where the app is failing at and what part actual error is occurring, making it easy to troubleshoot it.<\/p>\n<p><a href=\"https:\/\/wpvivid.com\/fix-404-errors-in-wordpress.html\">Unlike most errors you will encounter<\/a>, the 500 Internal Server error does not explicitly tell you what is wrong with your website, making it annoyingly hard to troubleshoot and fix.<\/p>\n<p>After fixing this error countless times, here are a couple of most likely scenarios you may experience it and how to fix it.<\/p>\n<p>When you <a href=\"https:\/\/wpvivid.com\/get-started-transfer-site.html\">move your WordPress website to a new host<\/a>, there is a high chance that you will see this error, but for most people, the error can be thrown even they have not done anything to the website.<\/p>\n<p>The 500 internal server error is often isolated to two scenarios, software or plugin related issues and hardware related issues.<\/p>\n<p>Before we get into the nitty-gritty, <a href=\"https:\/\/wpvivid.com\/get-started-create-a-manual-backup.html\">backup your website<\/a>, some of the recommendations involve<a href=\"https:\/\/wpvivid.com\/manage-files-and-folders-on-admin-dashboard.html\"> tampering with your files<\/a>; you would want to make worse the already bad situation.<\/p>\n<blockquote>\n<h2>Troubleshoot Software related issues<\/h2>\n<\/blockquote>\n<h4><strong><b>Save permalinks<\/b><\/strong><\/h4>\n<p>Okay, I know most articles you are going to read about fixing the 500 internal server error do not mention this, well, most of those are written by copywriters who do not<a href=\"https:\/\/wpvivid.com\/manage-multiple-wordpress-sites.html\"> manage a website<\/a>.<\/p>\n<p>The last 3 I had to fix the error on turned out that just<a href=\"https:\/\/wpvivid.com\/on-page-seo-checklist.html\"> saving the permalinks<\/a> fixed the issue. Workaround code long enough, and soon you will find out <a href=\"https:\/\/wpvivid.com\/fix-403-forbidden-error-wordpress.html\">someone of the solutions to annoying errors<\/a> is simple.<\/p>\n<p>So before you get into the technical aspects below, start with this.<\/p>\n<p>Permalinks are found under Settings.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-5236 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/06\/permalinks.png\" alt=\"Save Permalinks\" width=\"750\" height=\"146\" \/><\/p>\n<h4><b><\/b><strong>Start with the .htacess access file<\/strong><\/h4>\n<p><a href=\"https:\/\/wpvivid.com\/how-to-edit-htaccess-file-and-insert-301-redirects.html\">The .htaccess file is a configuration file<\/a> found in the top level directory of a website on an Apache server that adds or removes functionality needed for WordPress, plugins, and themes to run well.<\/p>\n<p>If an issue is to arise with this file, the website will most certainly break and start showing errors; the most common error associated with a corrupt .htaccess file is corrupt is the 500 Internal Server error.<\/p>\n<p>Since it is the typical culprit, we start with this file for the fix.<\/p>\n<p>All you need to do is <a href=\"https:\/\/wpvivid.com\/8-best-ftp-clients.html\">log in to your file server<\/a> and rename the .htaccess file.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-5237 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/06\/rename-htaccess-file.png\" alt=\"Rename Htaccess file\" width=\"1011\" height=\"380\" \/><\/p>\n<p>Then try to<a href=\"https:\/\/wpvivid.com\/create-custom-login-page-wordpress.html\"> access your website<\/a>, WordPress by default will recreate the .htaccess file with its default settings.<\/p>\n<p>In our experience, this fixes over 80% of the 500 Internal server errors we have seen.<\/p>\n<h4><b><\/b><strong>Increase PHP Memory Limit<\/strong><\/h4>\n<p>The next most likely reason your website shows this error is when your site, theme or a plugin <a href=\"https:\/\/wpvivid.com\/monitor-wordpress-memory-usage.html\">requires more memory<\/a> to run than is currently defined.<\/p>\n<p><a href=\"https:\/\/wpvivid.com\/choosing-a-wordpress-hosting.html\">Your host and WordPress configuration<\/a> have defined memory limits that applications need to work within, if renaming the .htaccess file did not work for you, then try to increase the PHP Memory limit in your wp-config.php file \u2013 <em><i>you could check with <a href=\"https:\/\/wpvivid.com\/create-knowledge-base-in-wordpress.html\">your plugin and theme documentation<\/a> for the recommended PHP Memory Limits<\/i><\/em>.<\/p>\n<p>In the wp-config,PHP file that you will find in your public directory, add the line of code below just after the opening PHP tag. You can replace 64M with the size recommended by your plugin or theme.<\/p>\n<pre>define('WP_MEMORY_LIMIT', '64M');<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-5238 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/06\/modify-php-wp-memory-limit.png\" alt=\"Modify PHP WP Memory Limit\" width=\"730\" height=\"250\" \/><\/p>\n<p>Refresh your website and see if this fixes the issue.<\/p>\n<p>However, if your website has been performing and all of a sudden, you start seeing the error, then you would have to investigate further what plugin is hogging the memory.<\/p>\n<h4><b><\/b><strong>Check the theme or Plugins<\/strong><\/h4>\n<p>Some times the culprit is<a href=\"https:\/\/wpvivid.com\/choose-perfect-wordpress-theme.html\"> a buggy plugin or theme<\/a>. \u00a0However, before you start troubleshooting them, check if your <a href=\"https:\/\/wpvivid.com\/rollback-wordpress-themes-and-plugins.html\">theme or plugins have any updates<\/a> that you can apply. If updating does not get rid of the error, then it is time to move on.<\/p>\n<p>To isolate if a theme causes the error, switch themes, and see if this fixes it.<\/p>\n<p>You can do thus under themes in Appearance. Active the default WordPress themes \u2013 Twenty Seventeen for instance and check if your website.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-5239 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/06\/check-themes-plugins.png\" alt=\"Check Themes and Plugins\" width=\"908\" height=\"134\" \/><\/p>\n<p>If your website works after switching themes, then we can conclude the issue is with the theme. You can <a href=\"https:\/\/wpvivid.com\/add-live-chat-support.html\">contact your theme developer<\/a> for possible solutions to the error.<\/p>\n<p>If that does not solve the issue, you can reactivate your theme and move to troubleshoot the plugins.<\/p>\n<p>For the case of plugins, start by disabling all the plugins, check your website, if the error is gone, then we can confirm that one plugin could be a culprit.<\/p>\n<p>If that fixes the issue, then its time to reactive the plugins one by one, as you do, keep refreshing your website until you find one that will return the 500 Internal Server Error.<\/p>\n<p>When you land on the culprit, you can<a href=\"https:\/\/wpvivid.com\/best-contact-form-plugins.html\"> contact the developer<\/a> and hope that they can fix the issue.<\/p>\n<h4><strong>Reupload core WordPress website files<\/strong><\/h4>\n<p>If any of the steps above do not fix the 500 internal server error, try to replace the existing WordPress core files in the wp-includes, and wp-admin directories with a clean copy to rule out corrupted WordPress files.<\/p>\n<p>You can<a href=\"https:\/\/wpvivid.com\/free-download-manager-plugins.html\"> download the files<\/a> from wordpress.org<\/p>\n<blockquote>\n<h2>Troubleshoot Hardware Related Issues<\/h2>\n<\/blockquote>\n<h4><strong>Contact your host\u2019s customer care<\/strong><\/h4>\n<p>If you try all the above methods and the 500 internal server error is persistent, then contacting your host is the only option left.<\/p>\n<p>As you have seen in the earlier steps, the typical culprits for this error are related to your theme and plugin.<\/p>\n<p>This is often outside the purview of web hosts, so you will need to explain to your host everything you have done to try to fix the error.<\/p>\n<blockquote>\n<h2>Conclusion<\/h2>\n<\/blockquote>\n<p>If this is the first time you see the error, I understand how it can be a daunting experience, but after reading this article, you should breathe knowing that it is not isolated to you.<\/p>\n<p>Moreover, with the tips here, you will be able to troubleshoot and fix the error fast.<\/p>\n<p>We recommend <a href=\"https:\/\/wordpress.org\/plugins\/wpvivid-backuprestore\/\">maintaining a regular backup schedule<\/a> for your website. In a scenario like this, <a href=\"https:\/\/wpvivid.com\/get-started-restore-site.html\">rolling back to a previously working version of the site<\/a> could be a solution in the short term especially if the cause is related to recent changes in the software on the site.<\/p>\n<p>You may also want to learn <a href=\"https:\/\/wpvivid.com\/fix-502-bad-gateway-error-wordpress.html\">how to fix the 502 bad gateway error in WordPress<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are looking into how to fix the 500 internal server error, follow this guide where we will go into several ways to fix the 500 internal server error.<\/p>\n","protected":false},"author":3,"featured_media":5240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","iawp_total_views":67},"categories":[80],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Fix the 500 Internal Server Error in WordPress - WPvivid<\/title>\n<meta name=\"description\" content=\"If you are looking into how to fix the 500 internal server error, follow this guide where we will go into several ways to fix the 500 internal server error.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix the 500 Internal Server Error in WordPress - WPvivid\" \/>\n<meta property=\"og:description\" content=\"If you are looking into how to fix the 500 internal server error, follow this guide where we will go into several ways to fix the 500 internal server error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html\" \/>\n<meta property=\"og:site_name\" content=\"WPvivid\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-04T10:02:45+00:00\" \/>\n<meta name=\"author\" content=\"TonyRobins\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TonyRobins\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html\",\"url\":\"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html\",\"name\":\"How to Fix the 500 Internal Server Error in WordPress - WPvivid\",\"isPartOf\":{\"@id\":\"https:\/\/wpvivid.com\/#website\"},\"datePublished\":\"2019-07-04T10:02:45+00:00\",\"dateModified\":\"2019-07-04T10:02:45+00:00\",\"author\":{\"@id\":\"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0\"},\"description\":\"If you are looking into how to fix the 500 internal server error, follow this guide where we will go into several ways to fix the 500 internal server error.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpvivid.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix the 500 Internal Server Error in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpvivid.com\/#website\",\"url\":\"https:\/\/wpvivid.com\/\",\"name\":\"WPvivid\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpvivid.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0\",\"name\":\"TonyRobins\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpvivid.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png\",\"contentUrl\":\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png\",\"caption\":\"TonyRobins\"},\"url\":\"https:\/\/wpvivid.com\/author\/tonyrobins\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix the 500 Internal Server Error in WordPress - WPvivid","description":"If you are looking into how to fix the 500 internal server error, follow this guide where we will go into several ways to fix the 500 internal server error.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html","og_locale":"en_US","og_type":"article","og_title":"How to Fix the 500 Internal Server Error in WordPress - WPvivid","og_description":"If you are looking into how to fix the 500 internal server error, follow this guide where we will go into several ways to fix the 500 internal server error.","og_url":"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html","og_site_name":"WPvivid","article_published_time":"2019-07-04T10:02:45+00:00","author":"TonyRobins","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TonyRobins","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html","url":"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html","name":"How to Fix the 500 Internal Server Error in WordPress - WPvivid","isPartOf":{"@id":"https:\/\/wpvivid.com\/#website"},"datePublished":"2019-07-04T10:02:45+00:00","dateModified":"2019-07-04T10:02:45+00:00","author":{"@id":"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0"},"description":"If you are looking into how to fix the 500 internal server error, follow this guide where we will go into several ways to fix the 500 internal server error.","breadcrumb":{"@id":"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpvivid.com\/fix-500-internal-server-error-wordpress.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpvivid.com\/"},{"@type":"ListItem","position":2,"name":"How to Fix the 500 Internal Server Error in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/wpvivid.com\/#website","url":"https:\/\/wpvivid.com\/","name":"WPvivid","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpvivid.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0","name":"TonyRobins","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpvivid.com\/#\/schema\/person\/image\/","url":"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png","contentUrl":"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png","caption":"TonyRobins"},"url":"https:\/\/wpvivid.com\/author\/tonyrobins"}]}},"_links":{"self":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/posts\/5235"}],"collection":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/comments?post=5235"}],"version-history":[{"count":0,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/posts\/5235\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/media?parent=5235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/categories?post=5235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/tags?post=5235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}