Why Your Website Is Not Loading and Stuck on a White Screen: How to Fix a 500 Internal Server Error
Summary
This guide helps you troubleshoot and resolve: Why Your Website Is Not Loading and Stuck on a White Screen: How to Fix a 500 Internal Server Error. Follow the steps below to fix the issue.
Common Causes
Encountering a blank white screen or a 500 Internal Server Error when visiting your website can be stressful, especially for small business owners relying on their online presence. A 500 error indicates that something has gone wrong on the web server, but the server cannot specify exactly what the problem is. This guide will help you identify common causes and apply fixes to get your site back online.
Quick Fix Steps
Before diving into technical configurations, try these immediate actions to rule out temporary glitches:
- Refresh your browser page by pressing
Ctrl+F5on Windows orCmd+Shift+Ron macOS. - Clear your browser cache and cookies to ensure you are not viewing a cached error page.
- Wait a few minutes and try accessing the site again, as the server may be undergoing a temporary restart or update.
Detailed Instructions
Check and Rename the .htaccess File
A corrupted .htaccess file is one of the most common causes of a 500 error. This file controls how your server handles requests, and a single syntax error can crash the site.
- Log into your hosting control panel (such as cPanel or Plesk).
- Open the File Manager.
- Navigate to your website's root directory (usually
public_html). - Locate the file named
.htaccess. If you do not see it, ensure "Show Hidden Files" is enabled in the File Manager settings. - Right-click the file and select Rename. Change the name to
.htaccess_old. - Refresh your website in the browser. If the site loads, the
.htaccessfile was the cause. - Go back to the File Manager and regenerate a new
.htaccessfile through your CMS settings (e.g., in WordPress, go to Settings > Permalinks and click Save Changes).
Warning: Always download a backup copy of your .htaccess file to your local computer before renaming or deleting it.
Increase the PHP Memory Limit
If your website exceeds the allocated memory limit, the server may return a 500 error. This often happens after installing a new plugin or uploading large media files.
- Access your site files via File Manager or an FTP client.
- Locate and open the
wp-config.phpfile (for WordPress) or your site's main configuration file. - Add the following line of code before the line that says
/* That's all, stop editing! Happy publishing. */:
define('WP_MEMORY_LIMIT', '256M');
- Save the file and refresh your website.
Deactivate Problematic Plugins or Themes
A conflict between a plugin, theme, and your server's PHP version can trigger a white screen.
- Open the File Manager and navigate to the
wp-contentfolder. - Find the
pluginsfolder and rename it toplugins_old. - Try loading your website. If it works, a plugin is causing the conflict.
- Rename the folder back to
pluginsand rename individual plugin folders one by one to identify the culprit. - If the issue persists, repeat this process for the
themesfolder.
Troubleshooting
Review Server Error Logs
If the steps above do not resolve the issue, the server error logs will provide the specific reason for the failure.
- Log into your hosting control panel.
- Look for the Metrics or Errors section.
- Click on Errors to view the most recent
error_logentries. - Look for entries marked as
Fatal errororInternal Server Erroroccurring at the time you tried to visit the site.
Note: Error logs often specify the exact file and line number where the crash occurred, which is invaluable information when opening a support ticket with your developer.
Check for Resource Bottlenecks
If your site is hosted on a shared or underpowered plan, resource throttling can cause intermittent 500 errors. Signs of infrastructure limitations include:
- The site loads slowly during peak business hours.
- Errors occur only when performing heavy tasks, such as importing large CSV files or running backups.
- The site is unstable despite no recent changes to plugins or code.
If your organization has outgrown its current hosting environment, you may need to upgrade to a plan with higher CPU and RAM allocations to ensure stability for your domestic traffic.
If you host with us, you don't need to do this yourself — just Open a Ticket and our Brisbane team will get it sorted.
If you have tried these steps and your website is still displaying a white screen or 500 error, please Open a Ticket with our support team for further assistance.
Still Having Issues?
💻 Open a Ticket