How to Clear Cache in WordPress
If you work on WordPress websites, you’re probably tired of telling clients or team members to refresh their browsers to see the changes you just made. And the reality is, a browser refresh might not […]

Copy the link to a markdown format of this article for ChatGPT, Claude, Gemini, or your favorite AI.
If you’ve ever been faced with the ERR_CONNECTION_TIMED_OUT error in WordPress, you know how frustrating it can be. While it’s a common issue, its complexity can leave website owners feeling overwhelmed. Understanding this error allows users to diagnose and resolve issues effectively.
The ERR_CONNECTION_TIMED_OUT error can happen when attempting to access a website. It means your browser waited too long for a response from the server, leading to the web page’s failed loading.
This error is classed as a network timeout issue. In simpler terms, it indicates that the server you’re trying to reach is not responding within the anticipated time window. There are several common culprits behind this. For example, it could be due to slow internet connections, server overload, hosting issues, network configuration problems, or even high traffic volumes overwhelming the server’s capacity.

This particular error can look different depending on the web browser you’re using. Some browsers will show the error message clearly, while others might say that the server isn’t responding, took too long to reply, or that the connection timed out. This inconsistency can make it tricky to figure out and fix the problem.
You can identify and address the underlying causes, ensuring uninterrupted access to your WordPress website. In the following sections, we’ll take you through how to do so, step by step.
Before getting into WordPress-specific troubleshooting, it’s important to make sure that the error isn’t caused by external factors. Firstly, check Down For Everyone Or Just Me. If this isn’t the answer, here’s how you can rule out non-WordPress configuration issues:
By ruling out these non-WordPress configuration issues, you can narrow down the potential causes of the ERR_CONNECTION_TIMED_OUT error and proceed with targeted troubleshooting.
If you’re looking for a temporary solution, you can implement one of the following.
The maximum execution time setting helps determine how long PHP scripts are allowed to run on a website. When scripts exceed this time limit, the server terminates them, potentially causing the ERR_CONNECTION_TIMED_OUT error. Adjusting the maximum execution time is a temporary workaround rather than a permanent fix. If a script consistently hits the execution time limit, it indicates there are likely deeper performance issues that need to be addressed — the root causes are typically something like unoptimized code, inefficient database queries, and lack of caching.
Maximum execution time refers to the duration, typically set by the hosting provider, within which PHP scripts are permitted to run. The default maximum execution time is often around 30 seconds, but it can vary depending on server configurations. To adjust the maximum execution time:
The php.ini file is a configuration file used to customize PHP settings. If you’re unsure how to find it, you can use the phpinfo() function to find it. Create a PHP file (e.g., phpinfo.php) with:
<?php
phpinfo();
?>
Then, upload this file to your web server’s document root directory (often named public_html, htdocs, or www). Access the file through a web browser (e.g., http://yourdomain.com/phpinfo.php). On the resulting page, look for the Loaded Configuration File section. It will display the path to the php.ini file currently in use.
If you do this, make sure to remove the file when you’re done as it potentially exposes sensitive information.
Now, navigate to the file using SFTP and you can edit. Here’s how to modify the maximum execution time setting:
max_execution_time = 300 ; // This sets the maximum execution time to 60 seconds
You can set this value at runtime within your PHP scripts using the set_time_limit() function. This approach is useful if you need to adjust the execution time for specific scripts or if you don’t have direct access to the php.ini file:
set_time_limit(60); // Sets the maximum execution time to 60 seconds for the script
If you’re using an Apache server, you can adjust the maximum execution time setting. Follow these steps:
By adjusting the max_execution_time setting appropriately, you can reduce the likelihood of encountering script timeouts and the ERR_CONNECTION_TIMED_OUT error on your WordPress site.
Insufficient memory allocation can also be a factor. Here’s how you can increase your site’s memory limit to potentially resolve the issue:
1. Edit the wp-config.php file:
define('WP_MEMORY_LIMIT', '256M');
2. Update the .htaccess File:
php_value memory_limit 256M
3. Troubleshooting:
If increasing the memory limit does not resolve the error, further troubleshooting may be necessary. Consult with your hosting provider for assistance in diagnosing and resolving the issue.
If you’re a Pressable customer, you don’t need to worry about maximum memory limits: We’ll handle this all for you! For more information, check out this knowledge base article on PHP memory limitations.
If these sticking plasters fail, move on to more permanent solutions.
A malfunctioning WordPress theme can be the culprit behind the ERR_CONNECTION_TIMED_OUT error. Themes, while making your site look nice, can also introduce code conflicts or compatibility issues, leading to connection timeouts.
To deactivate a WordPress theme, follow these steps:
Please note: This will deactivate your WordPress theme, so if you need to take this step, you’ll need to be prepared to re-design your site. Proceed with caution, especially if you’re working on a live site, and be prepared with a backup/temporary emergency theme.
Problematic plugins can often be the cause of the ERR_CONNECTION_TIMED_OUT error on your WordPress site. Remember, if you can’t access your site at all due to the error, you can disable plugins using an SFTP client like FileZilla. To do so, follow these steps:
Pressable’s Managed WordPress hosting is engineered to remove common connectivity issues so your website remains accessible and responsive.
Our managed WordPress hosting helps prevent connection issues by:
Pressable’s Managed WordPress hosting ensures websites remain consistently accessible and secure. Make the switch to Pressable today and enjoy smooth website operation without the hassle of frequent downtimes or complex troubleshooting processes.
If you work on WordPress websites, you’re probably tired of telling clients or team members to refresh their browsers to see the changes you just made. And the reality is, a browser refresh might not […]
Core Web Vitals are performance metrics that affect how Google evaluates your site. They measure how quickly the main content loads, how responsive the site feels, and how stable the layout is. You can think […]
Red lights. Checkout lines. The spinning wheel of death. No one likes to wait, which is why successful ecommerce businesses understand how to speed up WooCommerce. How quickly your site loads directly impacts your conversion […]