Solved the internal server error for wordpress

Tutorials

by 0

envato

500 Internal Server Error is one of the common WordPress errors. So what is that? In this tutorial, we will show you in a detailed manner on how to solve the internal server error in WordPress.

When you get this error, your website will display something like this

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@yoursite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Method 1: Add php.ini file to wp-admin folder

Most likely it is caused by low memory limit on your server. Here is the easy fix for 500 Internal Server Error with php.ini. To have this issue resolve, all you require is to increase the PHP memory limit which can be done by following the steps below:

  • Create a blank text file called php.ini
  • Paste this code in there: memory_limit = 64M
  • Save the file
  • Upload it into your /wp-admin/ folder using FTP

Method 2: Check the .htaccess file

.htaccess file may be is causing this problem. 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.

 

the-internal-server-error-for-wordpress
Here is default .htaccess file in wordpress

# BEGIN WordPress

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Method 3: Try to deactivate and then active all the plugins

Sometimes plugins are also the core of such problem, in that case, you need to start by first deactivating all the plugins installed and then slowly and carefully activate all the plugins one-by-one. If you can not to login to wordpress admin panel then go to wp-content folder and rename the plugins folder to plugins-backup and create the empty plugins folder in same place.

Delete or Deactivate used theme

Sometime internal server error by activate the new theme. Site stops working. So you should use any ftpclient and delete the new theme from themes folder. First take backup of your theme folder.

Nothing Works, Contact to your hosting provider

This is one best thing to do at end. If you are using the shared hosting then only you can contact to your hosting provider.

 

I hope this tutorial will help you about solving the internal server error for your wordpress. If you get another errors about wordpress you can write to me about your issue.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>