How to Fix the 504 Gateway Timeout Error in WordPress

How to Fix the 504 Gateway Timeout Error in WordPress
Joann Townsend

I recently had this problem when I moved my hosting to Siteground so I could take advantage of the Let’s Encrypt free SSL. The support team is generally really helpful but I jhad one support person tell me it was a problem my end, which of course it wasn’t. It turned out to be a problem with the caching. They have a several caching options and a plugin that synchronizes the cPanel settings with the website. As well as setting the timeout limit to a higher value they also discovered this (extract from the support ticket):
“the file wp-content/object-cache.php (which connects WP core to Memcached) on was still present, although you have disabled Memcached on your cPanel area. It causes additional delay on loading your website pages because the WP core keeps trying connecting to the Memcached instance which is not running. I have deleted the file and the website is now running much faster.”
So it may be worth checking that something related to caching isn’t causing the problem if the other solutions don’t work.

How to Fix a 504 Gateway Timeout Error on Your WordPress Site
Bryanna Atwell

There’s nothing more worrisome and frustrating than browsing to your WordPress site and encountering a white screen with an error. Some common ones you might have experienced in the past include 502 bad gateway errors, the ever so popular white screen of death, or the frightening error establishing a database connection. For many blogs and ecommerce sites, these errors result in the loss of revenue from visitors instantly bouncing and customers unable to complete their purchases. Today we want to dive into the 504 gateway timeout error and some recommendations on how to fix it on your WordPress site. Read more below about what causes this error and what you can do to prevent it in the future.

How to Fix 504 Gateway Timeout Error in WordPress
Gwendolyn Sanchez

504 gateway timeout is one of the HTTP status codes that a server can send back when it was unable to complete a request. While it is less frequent than 500 internal server error or 502 bad gateway error, everyone has encountered it at least a couple of times while browsing the internet. Hence this guide focuses on what 504 gateway timeout error is and how to fix it in WordPress.

How You Can Fix WordPress 504 Gateway Timeout Error
Katlyn Greco

3. Make sure your domain is active; sometimes domain servers too do go down, and that is why it is advantageous to purchase domain where you purchased hosting plan. Domain acts as pointers to websites, they lead the browser to exact location your web files are stored, the domain information is stored using Domain Name System (DNS) which consists of multiple servers across the globe, when any of these servers are down, your domain fails to point to your web location, and that is one of the major factors behind a 504 Gateway Timeout Error. To resolve this, you need to check the status of your domain with tools like, type your domain name into the provided box, select type of your domain record, and click on the Check DNS propagation button. Normally, the whole results should be green, if you found several that are red, contact the website where you purchase the domain and report the issue.

504 Gateway Timeout Error
Monnie William

A 504 Gateway Timeout error shows up inside the internet browser window, just like normal web pages do. There might be a site's familiar headers and footers and a nice, English message on the page, or it could show up on an all-white page with a big 504 at the top. It's all the same message, regardless of how the website happens to show it.

Be the first to comment

Leave a Reply

Your email address will not be published.