Close Menu
JustwebworldJustwebworld
  • Astrology
  • Business & Finance
    • Cryptocurrency
    • Make Money
    • Entrepreneur
    • Brands
    • Companies
    • Personal Finance
      • Banking
      • Insurance
      • Trading and Investing
  • Tech
    • Computing
    • Cybersecurity
    • Electronics
    • Android
    • Apple
    • Gadgets
    • Social Media
    • Mobile Apps
    • Softwares
  • Education
    • Vocabulary
    • Abbreviations
    • General Knowledge
    • Writing & Translation
  • Lifestyle
    • Beauty & Cosmetics
    • Fashion & Style
    • Furniture & Decor
    • Luxury
    • People & Relationships
    • Pets and Animals
    • Shopping
    • Parenting
    • Gardening
    • Birthdays
  • Health
  • Travel
  • Auto
  • Gaming
  • Food
  • Entertainment
  • Sports
Facebook X (Twitter) Instagram
Sunday, May 18
  • About
  • Contact Us
  • Advertise With Us
  • Disclaimer
  • Terms & Conditions
  • Privacy Policy
JustwebworldJustwebworld
  • Astrology
  • Business & Finance
    • Cryptocurrency
    • Make Money
    • Entrepreneur
    • Brands
    • Companies
    • Personal Finance
      • Banking
      • Insurance
      • Trading and Investing
  • Tech
    • Computing
    • Cybersecurity
    • Electronics
    • Android
    • Apple
    • Gadgets
    • Social Media
    • Mobile Apps
    • Softwares
  • Education
    • Vocabulary
    • Abbreviations
    • General Knowledge
    • Writing & Translation
  • Lifestyle
    • Beauty & Cosmetics
    • Fashion & Style
    • Furniture & Decor
    • Luxury
    • People & Relationships
    • Pets and Animals
    • Shopping
    • Parenting
    • Gardening
    • Birthdays
  • Health
  • Travel
  • Auto
  • Gaming
  • Food
  • Entertainment
  • Sports
JustwebworldJustwebworld
Home » Development & Programming » Web Development » WordPress

How to Fix WordPress 500 – Internal Server Error

Michael AustinBy Michael Austin WordPress
Facebook Twitter LinkedIn Telegram Pinterest Reddit Email WhatsApp
Follow Us
WhatsApp Telegram
Share
Facebook Twitter LinkedIn Pinterest Reddit Telegram WhatsApp

When you encounter an error like this, though it does not tell you how to correct the error or the source of the error, do not panic, this article will take you through how to solve the issue with ease.

Table of Contents

Toggle
  • How to Fix the Internal Server Error In WordPress
    • 1) Corrupted .htaccess File
    • 2) Corrupted plugins or themes
    • 3) Corrupted WordPress core file
    • 4) Insufficient Memory Limit
    • 5) To Find and Correct WordPress Errors Faster You Can Enable Error Reporting

How to Fix the Internal Server Error In WordPress

How to Easily Fix 500 Internal Server Error in WordPress

Internal Server Error may occur due to the following reasons:

  • Corrupted .htaccess file
  • Corrupted plugin(s) or theme(s)
  • Corrupted WordPress core file
  • Memory Limit

Now that you know the likely sources of Internal Server Error, we can proceed to solve it anytime we come across it, but before we proceed, take note of the action you performed last on your website before encountering this error as it will help to identify the source of the error quickly.

For example, let’s say you just activated a new theme and then an Internal Server error shows up, you would have known that the source of this error is the theme you just activated.

1) Corrupted .htaccess File

The .htaccess (Hypertext Access) file is a configuration file that is used to control the directory it lives in and all the child directory inside the host directory. In this case, your “public_html” or “www” is the parent/host directory and all other directories under either of these two are children/subdirectories. The .htacces file has control over all of them.

You can a replace a corrupted .htaccess file using either of these methods:

  1. If you can log in to your WordPress Admin area, Go to Settings -> Permalinks, just click on “Save Changes” button without really changing any settings. This will generate a new .htaccess file. Reload your webpage to see if the error has been corrected. If the error persists, use the second method.
  2. This method requires you logging into your FTP server, or you can use the file manager in your Control Panel, details for logging into FTP server can be found on Control panel or hosting account. Once logged in, navigate to “public_html” or “www” directory and double-click. By default, some hosting company has hidden the .htaccess file, if this is the case, Goto setting and allow “show hidden files”. Once the file is visible, right-click and select “rename”, append “_old” to the file name i.e. “.htaccess_old” and then save. This method will also force WordPress to generate a new .htaccess file. Reload your webpage to see if the error has been corrected.

2) Corrupted plugins or themes

As important to WordPress as they are, poorly coded plugins and themes may be the source of Internal Server Error, once you are certain that the error is caused by either plugin or theme, logging into your FTP server, locate and double-click “publick_html” directory inside the directory, also locate and double-click the “wp-content” directory. If the error has been isolated to plugin issue, rename the “plugins” directory and append “_deactivated” i.e. “plugins_deactivated”, this action will prevent WordPress from loading your plugins, thus correcting the error.

Also Read: WordPress Website Compliant With GDPR – How To Do It? WordPress Website Compliant With GDPR – How To Do It?

If the error has been isolated to themes issue, double-click themes directory and locate your current theme’s directory, right-click on the folder and rename to something else. This action will force WordPress to load the default theme. Reload your webpage to see if the error has been corrected.

3) Corrupted WordPress core file

WordPress core files can also succumb to virus attack, thus altering their code structure and resulting in Internal Server Error. When this happens, the first step is to backup your database (this can be done from your Control Panel under the database section), save to your local disk. You may also back up your “wp-contents” directory.

The next step is to reset your website (this can also be done from your Control Panel) and re-install the WordPress script. If you can identify the corrupted file or directory, you can delete and re-upload the individual file or directory from a fresh WordPress script.

4) Insufficient Memory Limit

While executing codes, the server needs enough memory to complete the execution task, WordPress has been optimized to handle memory limit just fine. For example, if PHP has been allocated 64MB, you do not need to set the value to 64M as WordPress will automatically use all 64MB if need be.

There are some cases where your hosting service provider has allocated memory less than needed and does not allow for increasing PHP memory limit, in this case, WordPress will not be able to use all the 64MB as hosting service provider allocation overrule the WordPress allocation. The step to take is to contact your host and ask them to increase your memory limit.

Also Read: Top 4 Popular WordPress Page Builders for 2018 Top 4 Popular WordPress Page Builders for 2018

Once it has been increased, logging to your FTP server, navigate to your “public_html” directory, inside the directory, look for a file called “wp-config.php.” Right-click on the file and select “View/Edit”, a prompt box may pop up asking you to select an editor, select the default. Immediately after the “<?php”, go to new line(press enter) and type the code “define(‘WP_MEMORY_LIMIT’, ‘64M’);”. Save the file and reload your web page. If error persists, keep increasing memory limit via the above method.

500 Internal Server Error

5) To Find and Correct WordPress Errors Faster You Can Enable Error Reporting

WordPress has a powerful tool called the “debug mode”. WordPress Debug Mode is all in one error detector even when not dealing with Internal Server error. This tool allows you to pinpoint the exact source of any error on your website. It generates a text file that states the location within your WordPress directory and timestamp of the error.

To enable error reporting, you have to edit your “wp-config.php” file, locate the file (it can be found inside “public_html” or “www” directory), right-click and select “View/Edit”, underneath the opening tag “<?php”, add the following codes:

define(‘WP_DEBUG’, true);

define(‘WP_DEBUG_LOG’, true);

define(‘WP_DEBUG_DISPLAY’, false)

define(‘WP_DEBUG’, true); activates the debug mode.

define(‘WP_DEBUG_LOG’, true); tells WordPress to save and update a file debug.log in your home directory.

define(‘WP_DEBUG_DISPLAY’, false); hides the error from the public so that only you can see it.

Also Read: Essential SEO Plugins for WordPress Positioning Essential SEO Plugins for WordPress Positioning

Login to your FTP server and locate debug.log file in your website root directory, edit the file view the error logs.

Need more tutorials on solving WordPress errors using error log? There is great post on how to fix it on 000webhost blog post.

Follow on WhatsApp Follow on Telegram
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Telegram WhatsApp Copy Link
Previous ArticleHow to add Floating Share Buttons to your blog’s sidebar(For Blogspot)
Next Article The Concept Of Doppler Radar! How Is It Used In Weather Forecasting?
Michael Austin
  • Website
  • Facebook
  • X (Twitter)
  • Pinterest
  • Instagram
  • LinkedIn

Michael Austin is an expert writer who loves creating engaging and easy-to-understand content. With years of experience, he specializes in writing well-researched articles that inform, inspire, and entertain readers. His clear and simple writing style makes complex topics easy to grasp. Whether it's trending news, helpful guides, or expert insights, Michael’s content is designed to be valuable and SEO-friendly, ensuring it reaches the right audience. Stay connected for his latest articles!

Related Posts

Post Content From Facebook On Your Site Automatically

WordPress Website Compliant With GDPR – How To Do It?

6 Benefits Of Using WordPress

How to Deploy An eCommerce Site On WordPress

7 Benefits of WordPress Over Traditional Websites Design By Srmehranclub

BuddyX Review – Best Theme For Social Community

Leave A Reply

Categories
Archives

Who is Hazel Brugger? Top Swiss Comedian, Eurovision Host & Comedy Queen of Europe

Luke Kornet Full Player Profile | Age, Height, Net Worth, Career Stats 2025

Who Is Brent Faiyaz? Age, Songs, Albums, Net Worth & Tour 2025

FaZe Rug Net Worth, Age, Girlfriend, House & Career | Must Read

Happy Father’s Day Wishes & Quotes | Heartfelt Messages, Sayings & Captions for Dad 2025

Why Stewart Vickers Is the Best SEO Expert in the World

Diljit Dosanjh : Latest Songs, Movies, Net Worth, Concerts & Full Biography

Katie Ledecky: Olympic Gold Queen | Records, Career, Net Worth & More!

Best New Clinic Opening Wishes | Heartfelt Messages, Quotes & Blessings to Celebrate Success

Brixton Cromwell 1200 Review 2025 | Price, Specs, Mileage & Top Speed Revealed!

DMCA.com Protection Status
Quick Links
Age Calculator
Angel Number Calculator
Case Converter
Sudoku Online
Word Counter
Love Calculator
Useful Links
Number to Words
Period Calculator
Yes-No Picker Wheel
Demon Name Generator
Kingdom Name Generator
Harry Potter Name Generator
Helpful Resources
Colors Name In English
Best Computer Brands
WhatsApp Web
Most Beautiful Beaches
Tesla Cybertruck Review
Richest Actors in the World
Explore More
Good Morning Handsome
Best English Songs of All Time
Cricket World Cup Winners
Ways to Say Rest In Peace
Britain’s Got Talent Winners
American Idol Winners
Facebook X (Twitter) Instagram Pinterest YouTube Tumblr LinkedIn WhatsApp Telegram Threads RSS
  • About
  • Contact Us
  • Advertise With Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions
  • Web Stories
Copyright © 2012-2025. JustWebWorld - All Rights Reserved. | Sitemap

Type above and press Enter to search. Press Esc to cancel.

×

👇 Bonus Reads for You 🎁

How To Secure My Website From Malware
What To Do When Malware Strikes Your Website
Post Content From Facebook - WP Automatic
Post Content From Facebook On Your Site Automatically
Free 5 SEO Plugins
5 Best Free SEO Plugins For WordPress
Divi - The Ultimate WordPress Theme
A Guide to Pick the Best Divi Theme Templates for Your Blog