How to Fix the WordPress connection timeout

One of the common WordPress error is the ‘connection timed out’ that is caused by an overburdened shared server. We will provide solutions to why this might be happening throughout thi s article.

Updated: 14 Dec, 21 by linda Y 1 Min

 

One of the common WordPress error is the ‘connection timed out’ which is caused by an overburdened shared server. The main causes are heavy plugins, theme function issues, and exhausted PHP memory limit.

How to Fix It

This error can be fixed very easily in different ways:

First possibility is to increase the memory limit of PHP  in wp-config.php. If you are using shared hosting you may have to ask your hosting provider to increase your memory limit. This allows you to run heavy plugins successfully.

The second way is to increase the maximum execution time in your php.ini file. However this is not a WordPress core file, so if you are not sure how to edit it, contact your hosting provider to increase your maximum execution time.

Another way is to first deactivate all the plugins and reactivate them one-by-one to see which plugin is causing the problem and then carefully remove the one that is causing the trouble.

The last method that you can adapt to resolve the problem is to switch to a default WordPress theme to identify if there is any problem caused by the theme.

linda Y

linda Y

My name is Linda, I have Master degree in Information Technology Engineering. I have some experiences in working with Windows and Linux VPS and I have been working for 2 years on Virtualization and Hosting. 

user monovm

raley

2019, Jun, 19

This article of yours is really very informative. Even someone with just a little to basic programming knowledge can understand and follow it. Thanks for sharing useful information!! I am really impressed to see that you have provided such an interesting information about WordPress. I was struggling to find such article. Anyways can you suggest me some better option to get Cheap Linux hosting other than redserverhost.com? Thank you once again!!

user monovm

Antoniy

2019, Jun, 19

Thank you for your feedback, we are glad that you found the article helpful. We provide affordable hosting services for both Windows and Linux platforms. You can see more details about the Linux hosting services we provide by clicking this link 

user monovm

Aditya

2019, Oct, 19

Hey, thank you for sharing this. Been really troubled as my site could not process things properly and i received a timeout error everytime.

user monovm

Jarek

2020, Jan, 20

Thank you! Thanks to you I was able to fix my blog :) Regards!

user monovm

iman firmansyah

2020, Jun, 20

thanks, wp_config solved my issue's max connection timeout.

user monovm

Susith Nonis

2020, Jun, 20

We're glad it worked out!

user monovm

Wilson

2020, Aug, 20

Thank you so much for doing this. Been very bothered because my platform was unable to manage stuff correctly and any time I got a timeout mistake.

user monovm

Susith Nonis

2020, Aug, 20

Were glad you enjoyed it ;)

user monovm

Furkan

2021, Jan, 21

Thank you for post but you didn't explain "how to fix", you explained that "where you fix". :)

user monovm

Antoniy Yushkevych

2021, Feb, 21

Thank you for your feedback, for further details on how to complete these fixes, you will have to contact your web hosting provider. If you have a service from us, you can always reach us via one of the methods listed on our support page.