Step by step instructions to Fix the 504 Gateway Timeout Error in WordPress


Have you at any point gotten a 504 entryway timeout mistake on your WordPress site? This blunder can make your site unavailable to clients. What’s most noticeably awful is that it can vanish and return without anyone else if the hidden issue isn’t settled. In this article, we will demonstrate to you industry standards to settle the 504 portal timeout mistake in WordPress.

What Causes 504 Gateway Timeout Error?

The 504 door timeout mistake is typically caused when a server can’t associate with an upstream server to finish a demand.

For instance, in the event that you are utilizing a site firewall like Sucuri, and it can’t associate with your WordPress server, at that point you will see a 504 door timeout blunder.

The blunder page’s appearance and the message might be shown distinctively relying upon your WordPress facilitating organization, the intermediary server, or the program you are utilizing. Following are the absolute most basic 504 entryway timeout blunder messages.

1.504 Gateway Timeout

2.HTTP 504

3.504 ERROR

4.Portal Timeout (504)

5.HTTP Error 504 – Gateway Timeout

Entryway Timeout Error


While the most widely recognized explanation behind the mistake is an intermediary server unfit to achieve the upstream server, it can likewise be activated by other facilitating design issues.

That being stated, how about we perceive how to effortlessly investigate and settle the 504 entryway timeout blunder in WordPress.

Step 1: Pause and Reload

Now and then the 504 portal timeout blunder may basically be caused by a brief glitch on your WordPress facilitating servers. Give it a couple of minutes and after that take a stab at reloading your site.

On the off chance that the issue vanishes, you don’t have to make any further strides. Be that as it may, on the off chance that the mistake holds on or returns sooner or later, keep perusing to investigate and settle the issue.

Step 2: Turn off VPN


On the off chance that you are utilizing a VPN administration to peruse the web, take a stab at handicapping it. Some of the time your VPN server will most likely be unable to get a reaction from your oversaw WordPress facilitating server, and this will result in 504 door timeout blunder.

In the event that your site returns, this implies the VPN server was the offender. Presently in the event that utilizing the VPN is imperative for you, you can have a go at changing to an alternate VPN server. On the off chance that you are seeing the mistake even in the wake of evolving servers, you would need to contact your VPN specialist co-op for help.

Step 3: Turn off Website Firewall

On the off chance that you are utilizing a DNS level site firewall like Sucuri or Cloudflare, at that point endeavor to incidentally incapacitate the firewall. This will enable you to interface with your WordPress facilitating server specifically.


On the off chance that that settles the issue, all things considered, your facilitating server is obstructing the firewall IP tends to which can cause this issue. You should contact your firewall specialist organization to get their rundown of IP locations, and afterward contact your web host to whitelist those IPs.

Some of the time debilitating the firewall may demonstrate to you the real server blunder take note. All things considered, you ought to allude to our rundown of basic WordPress blunders to settle the explicit issue.

Step 4: Handicap Your Network Proxy

In the event that you are associated with the web through an intermediary server, that server might be not able get a reaction from your WordPress site.

Take a stab at getting to your site utilizing an alternate web association or utilize online administrations to check whether your site is down only for you or everybody.

On the off chance that it is down only for you, you have to change your system settings. You can contact your web access supplier or a system administrator to investigate the issue for you.

Step 5: Change Your DNS Servers

Your web association utilizes something many refer to as DNS servers. These servers enable your PC to associate with the distinctive servers on the web.

In the event that the DNS servers you are utilizing are down or unfit to associate with your site, at that point you could see a 504 passage timeout blunder. The least demanding approach to check this is by changing the DNS servers your gadget is utilizing.

On Windows PCs, you can discover them under Control Panel » Network and Sharing Center screen.


On Mac PCs, you can discover them under Settings » Network. Tap on the Advanced catch, and afterward select the DNS tab.


You can change your DNS server deliver to and and apply changes.

Have a go at visiting your site now. In the event that this fathomed your blunder, you are altogether done. The issue was with your web association, and it is currently settled.

Step 6: Tidy up your WordPress Database

A degenerate WordPress database may likewise trigger a 504 door timeout mistake. Try not to stress, your WordPress information is no doubt safe. Notwithstanding, your database may require a little a touch of spring cleaning.

This can be effectively done by enhancing your WordPress database utilizing phpMyAdmin or utilizing a module like WP-Sweep. Ensure you reinforcement the WordPress database before playing out any activity.

Step 7: Deactivate WordPress Plugins and Switch to Default Theme

WordPress modules and subjects are less inclined to cause a 504 portal timeout blunder. In any case, if a module or topic is making such a large number of solicitations to the server, at that point all things considered, a portion of these solicitations may drop off and trigger a 504 entryway timeout blunder.

To test this, you have to deactivate all WordPress modules by means of FTP.


From that point forward, visit your site to check whether the mistake has settled.

On the off chance that it is, one of your modules was causing the issue. You currently need to actuate all modules one by one until the point that you can imitate the mistake. This will enable you to find the module in charge of the mistake.

On the off chance that deactivating modules didn’t understand your issue, you would need to check your WordPress topic. You should switch WordPress subject by means of phpMyAdmin.

Subsequent to changing your subject to the default WordPress topic, visit your site to check whether it’s working.

Step 8: Additional Troubleshooting

As a last resort, and you are as yet unfit to tackle the 504 door timeout blunder, at that point pursue the means in our definitive WordPress investigating guide for fledglings.

At long last, if all else fails, you have to connect with your facilitating supplier for help. They might have the capacity to settle the issue or point you the correct way.

We trust this article helped you figure out how to settle 504 portal timeout blunder in WordPress. You may likewise need to see our guide on the best way to secure WordPress against animal power assaults.

You May Also Like

About the Author: jeyam

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x