Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,511 members, 7,808,867 topics. Date: Thursday, 25 April 2024 at 06:20 PM

How To Fix Wordpress 500 Internal Server Error - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / How To Fix Wordpress 500 Internal Server Error (700 Views)

Server Error On CAC Portal When Linking NIN / 500 Internal Server Error / Server Error On Nairaland Mentions (2) (3) (4)

(1) (Reply)

How To Fix Wordpress 500 Internal Server Error by henryvic3324(m): 10:40am On Nov 27, 2018
STEPS TO FIX WORDPRESS 500 INTERNAL SERVER ERROR
Fixing WordPress 500 internal server error requires a lot of troubleshooting and can consume your time when trying to fix it. The common causes of this 500 internal server error are extending the memory limit of your PHP server and having a corrupted .htaccess file.

HOW DOES A CORRUPTED HTACCESS FILE OCCUR
A corrupted .htaccess file occurs when you install a plugin or make other changes to your WordPress site which end up corrupting your WordPress directory. To fix this error all you need is to create a new .htaccess file.

HOW DOES PHP MEMORY LIMIT OCCUR
PHP memory limit can occur due to a poorly coded plugin running on your site, or when your site grows considerably thus using too many plugins. Below are ways in which you can fix that error and eliminate the stress that comes along with trying to fix the error.

Before you start implementing these solutions to fix the error, backup your site. Use your preferred FTP client to enable you to edit and access the files on your site.

1. How to create a new .htaccess file on wordpress:

Open your preferred FTP client to access your files; there you will see several folders like wp-admin, wp-content and so on.

Rename the file by right clicking .htaccess and reaming it to .htaccess.bak.

Save these changes by going to the bottom of your WordPress admin area and under Settings, select Permalinks.

Once you have renamed the file and saved the changes, reload your website browser to check if the error has cleared. If the error does not clear, then it means it had not occurred due to a corrupted .htaccess file. Thus look into the PHP memory.

2. How to increase PHP memory limit:

To increase PHP memory limit, open your root directory and go to wp-config.php file. Right click on this file, and select the Download option.

Open the file using the text editor of your choice, add the bit of code under this PHP tag; define (‘WP_MEMORY_LIMIT’, ’64M’);

Save this file, then upload it to your root directory. This will overwrite the original file. Refresh the FTP client then refresh your site.

If after following the process you still having the error, then you are not having an issue with your PHP. Then if this happens, remove the code from the wp-config.php file, save it then upload it again to your root directory.

If you have followed the above process and you still have the error, it is advisable to contact your host. Support quality differs from one host to another. Most of them when you first contact them, they always tell you to check your plugins and themes. Explain to them what you have done to try and eliminate the error. This will prompt them to check and see if their server logs are causing the error.

To prevent the 500 internal server error WordPress in the first place, backup your files on a regular basis, always update your plugins and themes, and always ask your theme developer if their themes are compatible with the plugins you are using on your site to prevent the .htaccess files from being corrupted



Read more at

https://bloggingclues.com/how-to-fix-wordpress-500-internal-server-error/
Re: How To Fix Wordpress 500 Internal Server Error by tuhamworld: 8:09pm On Nov 27, 2018
I thought this thing is usually caused by Hosting issue

(1) (Reply)

How Do I Make My .html File A Website. / Google Explains Its Own Company’s Approach To SEO / Robust Yet Affordable Webdesign

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.