Are you getting 500 Internal Server Error on WordPress?  WordPress Internal Server Error common issue for WordPress site. This error doesn’t provide any specific information, Many new bloggers worry about fixing internal server error. In this article, we’ll show, How can you fix 500 Internal Server Error on WordPress.

What causes 500 Internal Server Error WordPress?

500 internal server error

 

Internal server error not only specific WordPress website but This error can also appear any webserver, This internal server error doesn’t give any specific reason. But something was wrong on your webserver. Generally, developers can’t understand why and what’s on the server. When checking the common reason for internal server error, then easy to detect the specific reason for WordPress internal server error.

Internal can error for WordPress plugin and theme, Other possible causes of internal server error in WordPress that we know: misconfiguration .htaccess file and PHP memory limit.

We also know, sometimes internal server error WordPress admin area but of cases full website. Don’t worry, this article can help to fix an internal server error on the WordPress website.

How to troubleshoot the Internal server on WordPress?

First of all, we can start troubleshooting beginning with .htaccess file, That was the most common reason for 500 internal server error.

misconfiguration .htaccess file

Something when we install a plugin, that needs htaccess file configuration or another reason htaccess overwrites, So this case causes 500 internal server error.

what you to this case?

  • Login your Cpanel, if can’t log in then use FTP Server. I used cwp for file managing.

htaccess file

  • Select the htaccess file and delete it.

wordpress dashboard

Then log in to your WordPress dashboard > settings > Permalink, then select URL structure now click on save changes. This action automatically creates a new htaccess file on the server with the default code. if your website used wordfence or another security plugin, Then don’t forget to rebuild the firewall. when you delete htaccess post URL might not work, so after rebuild the htaccess file, please also check the post URL working fine.

Increasing the PHP Memory Limit

If the first method fixed the problem, then don’t follow these steps.

Sometimes internal error happened for WordPress PHP memory limitation. On php.ini file might be not allowed WordPress to use enough memory. how to increase the PHP memory limit?

  • create a blank text file called php.ini on the Public_html folder.

upload_max_filesize = 720M
post_max_size = 64M
memory_limit = 256M
max_execution_time = 300

  • Copy this code and save on the php.ini file, you can also put only this line code memory_limit = 256Mit will fix the problem not required an extra line of code.

That will increase the PHP memory limit on the website and run stable the website.

Deactivate all Plugins

if none of the above solve internal server error, this error most likely for a specific plugin. it also chances for the not well combination of the plugin and not well interacted with each other.

plugin deactivate

 

How to deactivate all plugin at once? Open the wp-content folder, then change the plugin folder name. These changes on files automatically deactivate the plugin list. If internal server error for the plugin, now the problem was fixed successfully. There have other options to deactivate the plugin, click on the plugin folder. Please do not change the plugin folder name if want to deactivate a specific plugin. Now click on the plugin folder, there will available installed plugin. if you thinking specifically this plugin cause the error, select the plugin and rename it any other name.

These steps help you to detect which plugin makes internal server error, you can deactivate one by one plugin. if successful find the problem making plugin delete it soon as possible! it will help to fully recovery internal server error.

Re-uploading Core Files

If the plugin deactivation steps on works, This is the final step to find out the solution. You can re-upload wp-admin and wp-includes core files. Simply download the WordPress core file and copy wp-admin, which wp-includes all core files.

Then make a folder and paste it into the folder, Now Use WinRAR software. Then log in to your Cpanel and delete the wp-admin, wp-includes both folder.

Then upload a new core file that copied file on the public HTML folder, Extract the core file on there. This step doesn’t make any data loses, Your data still on the website, and all information totally safe.

Ask hosting Service provider

I hope those steps solved your problem if this error still not solved please ask help from your hosting provider, Sometimes the hosting provider do some mistake for setup or update, This issue might be happening for a reason or anything else.

 

I hope you solved your problem, leave a comment if have any questions!