Fix For 500 Internal Error WordPress

Asked By 0 points N/A Posted on -
qa-featured

Guys, I have been facing the ‘500 internal error WordPress’ on my website. Moreover, the error is not showing the reason due to which it is occurring. It has proved to be very frustrating to me for the last few hours. Please, give me some solution to fix this error. Any help will do. Thank You.

SHARE
Answered By 40 points N/A #330830

Fix For 500 Internal Error WordPress

qa-featured

Just as you said, ‘500 internal error WordPress’ never shows the reason why it occurred and proves to be frustrating for many people. I have experienced this error a few times and can suggest that this is the time to calm yourself and start solving the error. It would be great for your website if you have a backup before starting to solve the error. I will be mentioning a few ways to fix the error as follows:

1) Check for mistakes or bugs in the code of your website. Many times, while updating or editing, it may happen that the code got to have some bugs, so, checking it manually for the mistakes and correcting them will fix the error.

2) The .htaccess file causes the error most of the times. You can fix this by opening your website’s directory. Look out for the directory which has folders like ‘wp-content,’ ‘wp-includes,’ and ‘wp-admin.’ Look out for the ‘.htaccess’ file and rename it with any other name. The final step is to go to ‘Settings’ and click on ‘permalinks.’ At the bottom of the page, you can find the ‘Save’ button, click on it. The issue must have been resolved by now if the error was caused due to the corrupt ‘.htaccess’ file.

3) Try to deactivate or uninstall the most recent plugins one by one. The error would be resolved after deactivating the plugin if the error was caused due to the addition of a plugin. If the error persists even after removing all the plugins, you are still on the safer side as you will be having your backup code with you.

4) The error may have caused due to the limited PHP Memory Limit. The PHP Memory Limit can be increased. Open the root directory of your website and search for the file ‘wp-config.php.’ If you cannot edit the file, download it and open it in your system and type the following code at the bottom of the opening PHP tag:

define(‘WP_MEMORY_LIMIT’, ’64M’);

ini_set(‘post_max_size’, ’64M’);

ini_set(‘upload_max_filesize’, ’64M’);

Save the ‘wp-config.php’ file and upload it to your website’s directory from where it was downloaded. The issue would have been solved by now.

5) If nothing works, the problem would have been with the host. Contact your host and ask him if the problem is from his side or not. If the error is from the host’s side, it will be fixed by them.

Login/Register to Answer

Related Questions