Solve internal server error for wordpress

Many times we face the issue of internal server error for many wordpress sites. To Solve internal server error for wordpress sites. You can use the following techniques and tips. First do not hurry to take action. Before doing anything you need to take database backup first then you need to see the apache server logs and mysql db slow logs. If you are using the shared hosting then you can check the access and error logs.

we face the issue of internal server error for wordpress for many wordpress sites. To Solve internal server error for wordpress sites. first check error log

HTTP 500 Internal Server Errors , if you seeing on the sites. then do not get worried. Internal Server Error is one of the common WordPress errors. All types of errors can be fixable so don’t worry. There should be some reasons behind internal server errors.

Solve internal server error for wordpress
Solve internal server error for wordpress

Note: First take the database backup and If possible to take the filesystem backup easily then take filesystem backup.

Solve internal server error for wordpress

PHP memory limit issue

Many times php memory limit will cause the internal server error. If you have dedicated server then you can easily change the php memory limit. you need increase the memory limit and restart the apache server. Many times if you use the new theme or new plugin. After activating the theme or plugin you might face the internal server error issue. Because new theme or plugin might need more memory for execution.

But if you are using the shared hosting then you need to set memory limit in your own php.ini file and put that file into your root folder of hosting.

Check the .htaccess file

Due to some issue your .htaccess file is corrupted which is present in your root directory folder of wordpress installation. Before doing anything first take backup of .htaccess file using filezilla or any ftp client. Then rename the .htaccess file to .htaccess-old and after that login to wordpress admin panel. Go to Permalink section and save it again. That will regenerate the .htaccess file again.

I think this will solve your issue.

Deactivate all the plugins

If you are able to login to wordpress admin panel then go to plugin section and deactivate all the plugins. It is possible, any plugin is breaking your site. If you are not able to login to wordpress admin panel then follow the following steps.

Use ftp client and go to wp-content folder and rename the plugins folder to plugins-backup. Then create the empty plugins folder in same place.

This way you are deactivating the all the plugins. I think this will solve your issue 100%.

Delete or Deactivate used theme

Many times I faced the issue when I activate the new theme. Site stops working. Not too worry. Just use any ftpclient and delete the new theme from themes folder. First take backup of your theme folder.

Contact to your hosting provider

If you are using the shared hosting then only you can contact to your hosting provider. Write a email about your site issue and when that happened.

I Hope above article will help you about solving the issue. Still you are facing issue then check the http error and access logs. You can write to me about issue.

Using above steps you will able to Solve internal server error for wordpress.