{"id":916,"date":"2019-02-17T13:37:54","date_gmt":"2019-02-17T13:37:54","guid":{"rendered":"https:\/\/www.copahost.com\/blog\/?p=916"},"modified":"2020-05-31T14:07:42","modified_gmt":"2020-05-31T14:07:42","slug":"how-to-fix-500-internal-server-error","status":"publish","type":"post","link":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/","title":{"rendered":"How to fix 500 internal server error: 8 solutions"},"content":{"rendered":"<p>The error 500 &#8211; Internal Server Error is a very common issue in webservers. It can be caused by several reasons. In this article, we will explore the possible causes and present alternatives on how to fix 500 internal server error. This error is similar to the <a href=\"https:\/\/www.copahost.com\/blog\/404-error-code\/\">404<\/a>.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-917 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix1.jpg\" alt=\"how to fix 500 internal server error\" width=\"691\" height=\"355\" \/><\/p>\n<p>Article contents:<\/p>\n<p><a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#0\">1.0 The causes of the 500 error<\/a><br \/>\n<a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#1\">2.0 How to fix 500 internal server error in WordPress sites<\/a><\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#11\">2.1 Solution 1 &#8211;\u00a0Reset the .htaccess via WordPress<\/a><br \/>\n<a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#12\">2.2 Solution 2 &#8211;\u00a0Manually reset the .htacess file<\/a><br \/>\n<a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#13\">2.3\u00a0Solution 3 &#8211; Update and deactivate plugins<\/a><br \/>\n<a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#14\">2.4 Solution 4 &#8211; Try to change your theme<\/a><\/p>\n<p><a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#2\">3.0 How to fix the 500 error in non-Wordpress sites<\/a><\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#21\">3.1 Solution 5 &#8211;\u00a0Check your .htaccess syntax<\/a><br \/>\n<a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#22\">3.2 Solution 6 &#8211; Rename your .htaccess file<\/a><br \/>\n<a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#23\">3.3 Solution 7 &#8211; Enable error displaying in PHP<\/a><br \/>\n<a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#24\">3.4 Solution 8 &#8211; Check your error logs<\/a><\/p>\n<p><a href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#3\">4.0 Conclusion<\/a><\/p>\n<h3 id=\"0\">The causes of the HTTP error 500<\/h3>\n<p>Whenever a <a href=\"https:\/\/www.copahost.com\/blog\/web-server-examples\/\">web server<\/a> delivers a web page to the client, it throws HTTP status codes. Each status code means the result of such a request. For example, the HTTP status 200 means success: when a page was delivered and shown correctly.<\/p>\n<p>For example, the <a href=\"https:\/\/www.copahost.com\/blog\/404-error-code\/\">status code 404<\/a>, means the error Page not found. Then, the HTTP error 500 means an <strong>internal server error message<\/strong>. Such error 500 is one of the widest HTTP errors and may have several possible causes. In this article, we will approach the most common causes. And of course, show the fixes for them.<\/p>\n<p>Such specific error is most commonly caused by server side issues. Even one single <a href=\"https:\/\/www.copahost.com\/blog\/fix-php-register-globals-errors\/\">PHP script syntax errors<\/a>, file permissions or htaccess misconfiguration can cause such error. This error doesn&#8217;t depend on the operating system &#8211; both Windows and Linux based <a href=\"https:\/\/www.copahost.com\/blog\/web-server-price\/\">web servers<\/a> will present such HTTP status code. Even external resources can cause the 500 error.<\/p>\n<h3 id=\"1\">How to fix 500 internal server error in WordPress sites<\/h3>\n<p>Most of the problems generating the 500 server error in WordPress are caused by issues in the .htaccess file. Some of the problems are caused by plugins or templates. To troubleshoot this issue, we will, first of all, reset the .htaccess file. Then, if it persists, we will look into a problem with plugins or the templates.<\/p>\n<p>The .htaccess file is a common file that defines redirections and behaviours in the web server. cPanel has a default .htaccess file, which is placed inside the root folder of your WordPress blog. For example, our blog is on the root folder of the website. So, the .htaccess file is located inside public_html.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-918\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix2.jpg\" alt=\"\" width=\"431\" height=\"385\" \/><\/p>\n<p>Most of the error 500 issues in WordPress are caused by plugins or a misconfiguration in the .htaccess file. We suggest resetting this file.<\/p>\n<p>There are two methods:<\/p>\n<h4 id=\"11\">Solution 1: Reset the .htaccess\u00a0via WordPress admin panel<\/h4>\n<p>First of all, open the <strong>Permalinks<\/strong> section. It&#8217;s located under <strong>Settings<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-920\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix3.jpg\" alt=\"\" width=\"160\" height=\"443\" \/><\/p>\n<p>Whenever you make changes to your permalinks structure, WordPress automatically resets the .htaccess file. Please note that resetting this configuration may affect your <a href=\"https:\/\/www.copahost.com\/blog\/top-tips-to-boost-your-website-traffic-in-2016\/\">SEO<\/a>. Now, we recommend changing the option on this screen. After that, click <strong>Save<\/strong>. This way, WordPress will reset your .htaccess file and the <a href=\"https:\/\/www.copahost.com\/blog\/php-upload-max-filesize\/\">error 500 may be solved<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-921\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix4.jpg\" alt=\"\" width=\"839\" height=\"469\" \/><\/p>\n<h4 id=\"12\">Solution 2: Manually reset the .htaccess file<\/h4>\n<p>If you use WordPress, you may want to reset your .htaccess to default. Make sure to copy and keep a backup of your old\/current .htacess file.<\/p>\n<p>This is how the default .htaccess file of WordPress looks like. Just empty the .htaccess and. Then, copy and paste this content to your .htaccess:<\/p>\n<pre class=\"lang:default decode:true\"># BEGIN WordPress\r\n\r\n&lt;IfModule mod_rewrite.c&gt;\r\nRewriteEngine On\r\nRewriteBase \/\r\nRewriteRule ^index\\.php$ - [L]\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_FILENAME} !-d\r\nRewriteRule . \/index.php [L]\r\n&lt;\/IfModule&gt;\r\n\r\n# END WordPress<\/pre>\n<h4 id=\"13\">Solution 3: Solve problems in plugins<\/h4>\n<p>To help our customers on how to fix 500 internal server error, we have to troubleshoot and try to find the cause of the problem. It&#8217;s very common to have plugins or templates generating this issue.<\/p>\n<p>First of all, click on the <strong>Installed Plugins<\/strong> option. It&#8217;s located under <strong>Plugins<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-924\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix5.jpg\" alt=\"\" width=\"316\" height=\"95\" \/><\/p>\n<p>Then, you have to try to <strong>update<\/strong> each plugin with such a message. To update, simply click <strong>Update now<\/strong>. If after updating every plugin, you still have the 500 internal server error, we recommend deactivating the plugins one by one until you find the problematic one. Simply click on <strong>Deactivate<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-925\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix6.jpg\" alt=\"\" width=\"821\" height=\"540\" \/><\/p>\n<h4 id=\"14\">Solution 4: Change the theme<\/h4>\n<p>Sometimes a changed was applied to the theme, and some <a href=\"https:\/\/www.copahost.com\/blog\/php-upload-multiple-files\/\">PHP file<\/a> may be damaged. To fix the 500 server error, there is another possibility: changing the <a href=\"https:\/\/www.copahost.com\/blog\/install-wordpress-theme\/\">WordPress theme<\/a>. To do that, simply go to <strong>Themes<\/strong> under the <strong>Appearance<\/strong> menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-926\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix7.jpg\" alt=\"\" width=\"315\" height=\"205\" \/><br \/>\nThen, locate a different theme, and click <strong>Activate<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-927\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix8.jpg\" alt=\"\" width=\"384\" height=\"317\" \/><\/p>\n<h3 id=\"2\">How to fix this error in non-Wordpress sites<\/h3>\n<p>There is a vast possibility of causes of the 500 error in sites that don&#8217;t use WordPress. In this section, we will show the most common causes and solutions on how to fix the 500 internal server error problem. Most of the times, this problem is caused by issues in your .htaccess file. This file is always located in your root folder (public_html).<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-918\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix2.jpg\" alt=\"\" width=\"431\" height=\"385\" \/><\/p>\n<h4 id=\"21\">Solution 6 &#8211; Check the .htaccess file syntax<\/h4>\n<p>Simply edit this .htaccess file, and look for any misconfiguration. We recommend this <a href=\"http:\/\/www.htaccesscheck.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">.htaccess tester.<\/a>\u00a0This way, you can copy and paste the contents of your current .htaccess file. This site shows which lines have a bad syntax. It will highlight in red all the problematic lines, for you to fix them.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-930\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix9.jpg\" alt=\"\" width=\"630\" height=\"387\" \/><\/p>\n<h4 id=\"22\">Solution 7: rename the .htaccess file<\/h4>\n<p>You can simply rename this file. It will deactivate it in the server. Just change its name to something like <strong>.htacess-old<\/strong>, for example. This way you can see the behaviour of your site without it.<\/p>\n<h4 id=\"23\">Solution 8: enable error displaying in PHP<\/h4>\n<p>By default, <a href=\"https:\/\/www.copahost.com\/blog\/php-upload-max-filesize\/\">PHP shows the 500 errors<\/a> this way. There is an option that you can enable, in order to force <a href=\"https:\/\/www.copahost.com\/blog\/php-upload-max-filesize\/\">PHP to show on screen the exact error<\/a> message.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-931\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix10.jpg\" alt=\"\" width=\"470\" height=\"321\" \/><br \/>\nSimply add these lines to the beginning of your PHP file, inside the &lt;?php and ?&gt; tags.<\/p>\n<pre class=\"lang:default decode:true\">error_reporting(E_ALL);\r\nini_set('display_errors', 'On');<\/pre>\n<p>Now you can see the exact error message, in order to fix the 500 internal server error issue:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-932\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix11.jpg\" alt=\"\" width=\"735\" height=\"195\" \/><\/p>\n<h4 id=\"24\">Solution 9: Check the error logs in the server<\/h4>\n<p>Lastly, if none of the previous solutions worked, we recommend checking the error logs. They will probably show you the reason of the 500 internal server error. In your <a href=\"https:\/\/www.copahost.com\/blog\/free-cpanel-alternatives-centos-web-panel\/\">cPanel control panel<\/a>, open the <strong>Errors<\/strong> option, which is located under <strong>Metrics<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-933\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix12.jpg\" alt=\"\" width=\"808\" height=\"324\" \/><\/p>\n<p>Then, all the error messages will be shown.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-934\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/http-error-500-how-to-fix13.jpg\" alt=\"\" width=\"1274\" height=\"389\" \/><\/p>\n<h3 id=\"3\">Conclusion<\/h3>\n<p>The 500 internal <a href=\"https:\/\/www.copahost.com\/blog\/what-is-web-server\/\">server error is one of the widest problems in web<\/a> hosting. There are several possibilities and causes for that. We have helped many <a href=\"https:\/\/www.copahost.com\/blog\/cheap-vps-hosting-with-cpanel\/\">hosting customers on how to fix 500 internal server<\/a> error issue so far. As we explained, there are easy and quick fixes and the toughest ones.<\/p>\n<p>The last possibility is to check the log files if none of the solutions worked for you. Then, after checking the error logs, you can simply search in Google for the exact error message. For sure there will be pages showing their fixes.\u00a0Least but not last, you may want to check this other article about how to use <a href=\"https:\/\/www.copahost.com\/blog\/create-custom-404-error-page-htaccess\/\">customized error pages<\/a> in your site.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The error 500 &#8211; Internal Server Error is a very common issue in webservers. It can be caused by several reasons. In this article, we will explore the possible causes and present alternatives on how to fix 500 internal server error. This error is similar to the 404. Article contents: 1.0 The causes of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1445,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[126],"tags":[],"class_list":["post-916","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to fix 500 internal server error: 8 solutions - Copahost<\/title>\n<meta name=\"description\" content=\"Alternatives on how to fix 500 internal server error. Either for Wordpress sites or for standard sites. Fix the .htaccess file and discover the problem.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to fix 500 internal server error: 8 solutions - Copahost\" \/>\n<meta property=\"og:description\" content=\"Alternatives on how to fix 500 internal server error. Either for Wordpress sites or for standard sites. Fix the .htaccess file and discover the problem.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/\" \/>\n<meta property=\"og:site_name\" content=\"Copahost\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-17T13:37:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-31T14:07:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-how-to-fix-error-500.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Gustavo Gallas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gustavo Gallas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/\"},\"author\":{\"name\":\"Gustavo Gallas\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246\"},\"headline\":\"How to fix 500 internal server error: 8 solutions\",\"datePublished\":\"2019-02-17T13:37:54+00:00\",\"dateModified\":\"2020-05-31T14:07:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/\"},\"wordCount\":1129,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-how-to-fix-error-500.png\",\"articleSection\":[\"Hosting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/\",\"name\":\"How to fix 500 internal server error: 8 solutions - Copahost\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-how-to-fix-error-500.png\",\"datePublished\":\"2019-02-17T13:37:54+00:00\",\"dateModified\":\"2020-05-31T14:07:42+00:00\",\"description\":\"Alternatives on how to fix 500 internal server error. Either for Wordpress sites or for standard sites. Fix the .htaccess file and discover the problem.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#primaryimage\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-how-to-fix-error-500.png\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-how-to-fix-error-500.png\",\"width\":2000,\"height\":800},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.copahost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to fix 500 internal server error: 8 solutions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"name\":\"Copahost\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.copahost.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\",\"name\":\"Copahost\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"width\":223,\"height\":40,\"caption\":\"Copahost\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246\",\"name\":\"Gustavo Gallas\",\"description\":\"Graduated in Computing at PUC-Rio, Brazil. Specialized in IT, networking, systems administration and human and organizational development\u200b. Also have brewing skills.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/gustavo-gallas-107926196\/\"],\"url\":\"https:\/\/www.copahost.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to fix 500 internal server error: 8 solutions - Copahost","description":"Alternatives on how to fix 500 internal server error. Either for Wordpress sites or for standard sites. Fix the .htaccess file and discover the problem.","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:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/","og_locale":"en_US","og_type":"article","og_title":"How to fix 500 internal server error: 8 solutions - Copahost","og_description":"Alternatives on how to fix 500 internal server error. Either for Wordpress sites or for standard sites. Fix the .htaccess file and discover the problem.","og_url":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/","og_site_name":"Copahost","article_published_time":"2019-02-17T13:37:54+00:00","article_modified_time":"2020-05-31T14:07:42+00:00","og_image":[{"width":2000,"height":800,"url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-how-to-fix-error-500.png","type":"image\/png"}],"author":"Gustavo Gallas","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Gustavo Gallas","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#article","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/"},"author":{"name":"Gustavo Gallas","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246"},"headline":"How to fix 500 internal server error: 8 solutions","datePublished":"2019-02-17T13:37:54+00:00","dateModified":"2020-05-31T14:07:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/"},"wordCount":1129,"commentCount":0,"publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-how-to-fix-error-500.png","articleSection":["Hosting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/","url":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/","name":"How to fix 500 internal server error: 8 solutions - Copahost","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#primaryimage"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-how-to-fix-error-500.png","datePublished":"2019-02-17T13:37:54+00:00","dateModified":"2020-05-31T14:07:42+00:00","description":"Alternatives on how to fix 500 internal server error. Either for Wordpress sites or for standard sites. Fix the .htaccess file and discover the problem.","breadcrumb":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#primaryimage","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-how-to-fix-error-500.png","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-how-to-fix-error-500.png","width":2000,"height":800},{"@type":"BreadcrumbList","@id":"https:\/\/www.copahost.com\/blog\/how-to-fix-500-internal-server-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.copahost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to fix 500 internal server error: 8 solutions"}]},{"@type":"WebSite","@id":"https:\/\/www.copahost.com\/blog\/#website","url":"https:\/\/www.copahost.com\/blog\/","name":"Copahost","description":"","publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.copahost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.copahost.com\/blog\/#organization","name":"Copahost","url":"https:\/\/www.copahost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","width":223,"height":40,"caption":"Copahost"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246","name":"Gustavo Gallas","description":"Graduated in Computing at PUC-Rio, Brazil. Specialized in IT, networking, systems administration and human and organizational development\u200b. Also have brewing skills.","sameAs":["https:\/\/www.linkedin.com\/in\/gustavo-gallas-107926196\/"],"url":"https:\/\/www.copahost.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/comments?post=916"}],"version-history":[{"count":20,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/916\/revisions"}],"predecessor-version":[{"id":2474,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/916\/revisions\/2474"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/media\/1445"}],"wp:attachment":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/media?parent=916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/categories?post=916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/tags?post=916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}