• DevOps
    Case Study

    How we built a resilient multi-account, multi-cloud solution for a Health Tech service provider!

    READ CASESTUDY
    icon

    24/7 DevOps as a Service

    Round-the-clock DevOps for uninterrupted efficiency.

    icon

    Infrastructure as a Code

    Crafting infrastructure with ingenious code.

    icon

    CI/CD Pipeline

    Automated CI/CD pipeline for seamless deployments.

    icon

    DevSecOps

    Integrated security in continuous DevOps practices.

    icon

    Hire DevOps Engineers

    Level up your team with DevOps visionaries.

    icon

    Consulting Services

    Navigate success with expert DevOps consulting.

  • TechOps
    Case Study

    How we built a scalable Odoo solution for a Travel Tech service provider!

    READ CASESTUDY

    WEB HOSTING SUPPORT

    icon

    HelpDesk Support

    Highly skilled 24/7 HelpDesk Support

    icon

    Product Support

    Boost your product support with our expertise.

    MANAGED SERVICES

    icon

    Server Management

    Don’t let server issues slow you down. Let us manage them for you.

    icon

    Server Monitoring

    Safeguard your server health with our comprehensive monitoring solutions.

    STAFF AUGMENTATION

    icon

    Hire an Admin

    Transform your business operations with our expert administrative support.

    icon

    Hire a Team

    Augment your workforce with highly skilled professionals from our diverse talent pool.

  • CloudOps
    Case Study

    How we helped a Private Deemed University in India, save US $3500/m on hosting charges!

    READ CASESTUDY
    icon

    AWS Well Architected Review

    Round-the-clock for uninterrupted efficiency

    icon

    Optimize

    Efficient CloudOps mastery for seamless cloud management

    icon

    Manage

    Automated CI/CD pipeline for seamless deployments

    icon

    Migrate

    Upgrade the journey, Migrate & Modernize seamlessly

    icon

    Modernize

    Simplify compliance complexities with our dedicated services

    icon

    FinOps as a Service

    FinOps as a Service

  • SecOps
    Case Study

    How we built a scalable Odoo solution for TravelTech service provider!

    READ CASESTUDY
    icon

    VAPT

    Vulnerability Assessment and Penetration Testing

    icon

    Source Code Review

    Ensuring source code security ans safe practices to reduce risks

    icon

    Security Consultation

    On demand services for improving server security

    icon

    System Hardening

    Reduced vulnerability and proactive protection

    icon

    Managed SoC

    Monitors and maintains system security. Quick response on incidents.

    icon

    Compliance as a Service

    Regulatory compliance, reduced risk

  • Insights
    Case Study

    How we helped a Private Deemed University in India, save US $3,500/m on hosting charges!

    READ CASESTUDY
    icon

    Blog

    Explore our latest articles and insights

    icon

    Case Studies

    Read about our client success stories

    icon

    Flipbook

    Explore our latest Flipbook

    icon

    Events

    Join us at upcoming events and conferences

    icon

    Webinars

    Watch our educational webinar series

  • Our Story
  • Contact Us

Interested to collaborate?

Get in touch with us!

Ready to elevate your business with certified cloud expertise? Contact us today to learn how our team can help you leverage cloud technology to drive growth, streamline operations, and enhance security.

  • AWSAWS
  • Azure CloudAzure Cloud
  • Google CloudGoogle Cloud
  • Akamai CloudAkamai Cloud
  • OVHOVH
  • Digital OceanDigital Ocean
  • HetznerHetzner
  • Kubernetes Consultancy Services
  • K8s & Cloud native Solutions
  • 24/7 Infrastructure Monitoring
  • DevOps as a Service
  • Cloud CI/CD Solutions
  • White Labeled MSP Support
  • Our story
  • Life@SupportSages
  • Insights
  • Careers
  • Events
  • Contact Us

Connect with us!


LinkedInFacebookXInstagramYouTube

aws partneraws advanced partner
SupportSages

Copyright © 2008 – 2026 SupportSages Pvt Ltd. All Rights Reserved.
Privacy PolicyLegal TermsData ProtectionCookie Policy
WordPress Websites Showing 500 Internal Server Error – Causes and Solutions

WordPress Websites Showing 500 Internal Server Error – Causes and Solutions

Nidhin George

  • 6 min read
WordPress Websites Showing 500 Internal Server Error – Causes and Solutions

Generating audio, please wait...

WordPress based websites sometimes show a 500 internal server error and in some cases, you get a white screen instead of the error. There can be many reasons for this error, but primarily two which accounts for 80% of the cases. Let’s discuss the scenarios in detail.

Primary reasons

Wrong entries in .htaccess (assuming that you are running Apache as a Web Server)

As a very first step, you would need to rename the .htaccess to something like .htaccess.sages and then see whether the website loads fine. If that is not working check for the reason #2. If that worked, in order to get the links working, create a new .htaccess and put the default WordPress .htaccess entry as below

# 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

If the WordPress installation is a Multidomain/ Multiuser one, please refer below URL to choose the appropriate rule depending on the WordPress implementation.

Don’t stop here, aren’t you a little curious to find out which rule caused the error with the original .htaccess file. However, for that, you may need to learn more about the rewriting mod_rewrite rules and other aspects of .htaccess.

The memory_limit directive in PHP configuration

You may not know, but most of the web hosting providers impose a limit on shared hosting, especially with the entry of CloudLinux and other related services. PHP memory limits are set by your web host on a global level but can be locally modified under WordPress by using the below methods

Adding the below rule in wp-config.php file

define('WP_Memory_LIMIT','128M');

Adding the below rule in the .htaccess file

php_value memory_limit 128M

Else by adding the below rule in php.ini

memory_limit = 128M

WordPress will attempt to increase your limit if you begin to exceed it, but it can only go as high as the limit your host has placed on your server.

Secondary reasons

Deactivate all the Plugins

This could be a reason if you have recently updated either the WordPress Core or installed a new plugin. If it is a new plugin, try to uninstall it and see whether it fixes the issue.

In the latter case, try to update the plugins one by one and check if the issue is fixed after each update. If the above troubleshooting steps related to plugins are not helping to identify the issue, then you will have to disable the plugins altogether, either by renaming the plugins folder or by renaming it one by one.

Related to the below-mentioned reason, you may need to disable the cache plugins like WP Total Cache and such.

Promotional banner

Did you try it on another browser or on another machine?

This is a simple yet sometimes odd method to troubleshoot. Sometimes the issue could be with browser cache or cookies. In such cases, you may try to clear or disable the cookies.

If clearing the cache/cookie didn’t help, try to duplicate the issue on another machine. If you are able to recreate the issue on that machine, then you can confirm that the issue is not due to cache or cookies.

Re-upload entire files again

If the website works well in the localhost environment and the issue arises when you upload the website for the first time, higher chances are that, you have missed checking the errors in the FTP client related to the uploads. Even if one file is missing, you may end up in 500 internal server error.

You can identify the missing file or try to re-upload the entire website files again.

Check the file permissions and ownership of the uploaded files

This issue did happen a few years back and is not so common nowadays, especially if you are uploading using FTP.

If the hosting provider has handled the migration for you, this could be a reason, because they would have migrated or uploaded the files as root and did not change the permissions or ownership of the files/directories as it should be. This has to be solved by the provider itself and you may need to raise a support ticket with them.

If everything else fails, you need an error log to help

Even though this is mentioned as the last step here, in fact, this is the first step to be taken especially if you are a developer or a support technician or sysadmin. It is about checking the error log in the directory, where the wpconfig.php is located or sometimes inside the wp-admin folder.

If that error log is not present there, you can enable the debug log by adding the below lines in the wpconfig.php file.

define( 'WP_DEBUG', true ); 
define( 'WP_DEBUG_DISPLAY', false )
define( 'WP_DEBUG_LOG', true );
Typo in the wp-config.php/index.php

Depending on the web server configuration, a typo in the wp-config.php may also cause 500 Internal server error. This usually results in the white screen, but occasionally you may see 500 Internal server error.

You can try re-creating the wp-config.php file using the database credentials or will need to go through the configuration line by line to fix it.

Your filesystem is corrupt

This is not an issue which you can fix yourself. You will need to contact your upstream provider and if the corruption is in the initial stage, only a few files will have an issue (could be a developer issue as well) and it may be slowly expanding to other files as well.

Get 24/7 technical helpdesk support

  • server
  • WordPress
Promotional banner
Promotional banner

ASSP – A Good Open Source and Cheap Alternative to Commercial Spam Fighting Solutions

ASSP – A Good Open Source and Cheap Alternative to Commercial Spam Fighting Solutions
  • Email service
  • Security
logo

How to troubleshoot an issue – The sysadmin way

How to troubleshoot an issue – The sysadmin way
  • server
logo

PHP-FPM Vulnerability (CVE-2019-11043) can lead to Remote Code Execution on nginx

SupportSages Logo
  • Linux
  • nginx
  • PHP
  • Vulnerabilities
logo

Should you run SSH on alternate ports ?

Should you run SSH on alternate ports ?
  • Security
  • server
logo

Posts by Nidhin George

Nidhin has started his career as a Linux System Administrator since 2013 and holds vast experience in server administration, CMS management and cPanel systems. Apart from this he's a movie buff and have a huge collection of movies.