500 Internal Server Errors in WordPress Driving You Nuts?

Do you have a 500 internal server error in WordPress that is driving you nuts? Well sit back, relax and read. This problem may be easier to solve than you think. There are a few things that may be causing this but more than likely if you are using the WordPress CMS the cause is “memory limit” in your wp-config file. All you have to do, {ha ha haadd one line of code to your wp-config file to increase your memory limit.

[code]/** Memory Limit */
define(‘WP_MEMORY_LIMIT’, ’96M’);[/code]

You could also try 256 if the above code does not help.

[code]define(‘WP_MEMORY_LIMIT’, ‘256M’);[/code]

Only cool people share!

How to insert the code

You can do it one of 2 ways. The first one I am going to give you will be though your ftp program. The second will be though cPanel.

Through your FTP program

  1. Log into your website though your favorite FTP program
  2. Download the wp-config.php file it will be on your root directory. The root directory is the main folder on your website. This means that as soon as you connect to your website via FTP you will see your wp-config.php file right away. You will not have to look for it in other folders
  3. Download your wp-config.php file
  4. Add the code that I gave you above to the bottom of the file.
  5. Upload to your server and your are done! 🙂

Edit wp-config.php file Though cPanel

  1. Log into your cPanel
  2. Navigate to File Manager
  3. Click on it and you will see your wp-config.php file there
  4. See picture steps below. 🙂

Picture Instructions

cpanel file manager cpanel show hidden files cpanel wp config file cpanel wpconfig increase memory limit in wordpress

 

What if this is not my 500 internal server error solution?

If this is not your problem then it could be one of the following items.

Your htaccess file

Your htaccess file on an apache server controls a lot of things. If there is just one period (.) that is out of place it could be causing your 500 internal server error. One thing that you can do is just delete the file! Dont worry if you are on a WordPress CMS, WordPress will write another one for you automatically. Just go down to your permalinks in “Settings” then “Permalinks” and click save at the bottom after deleting the file. The basic WordPress htaccess file looks like this.

[code]# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress[/code]

Bad Theme can cause 500 internal server errors

Yes if you do not have a theme that is compatible with the latest WordPress core updates then you could experience a 500 internal server error. Contact the themes creator and see if they have an update. If they don’t then you can contact a guy like me. 🙂

Bad Plugins can cause 500 internal server errors

Most people do not realize this but when you install a plugin it has access to everything on your WordPress CMS. You should test them and read reviews before installing a plugin.

Video Instructions

500 Internal Server Errors in WordPress Driving You Nuts? was last modified: January 10th, 2021 by Maximus Mccullough
Summary
500 Internal Server Errors in WordPress Driving You Nuts?
Article Name
500 Internal Server Errors in WordPress Driving You Nuts?
Description
500 internal server errors in WordPress driving you nuts? Well site back, relax and read. This problem may be easier to solve than you think! :-)
Author
500-internal-server-error-driiving-you-nuts

2 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.