This article will help you to understand, how to Fix 502 Bad Gateway Error in WordPress Easily.
502 Bad Gateway Error also known as HTTP 502 error and it is one of the common errors on WordPress. Http 502 Bad Gateway is a server error coming out between servers on the Internet. 502 error is produced from our servers killing the request based on the factor of time. Website server is used as a gateway to serve the clients requests and if it receives an invalid response from the Server, the HTTP 502 Bad Gateway Error comes up.
Common causes are the website is unstable with bugs with PHP programming, the internet gateway is unable to pull content from the origin server and also the server is down and cannot be reached.
Here’s how you can fix 502 Bad Gateway Error easily.
Clear browser cache
Your browser stores corrupted files of the WordPress website. If web browser got confused, you have to clear the browser cache data to avoid this kind of error.
HTTP 502 Error comes up when your web browser overloaded with too many cookies or it has stored corrupted cookies. When solving this 502 Bad Gateway Error, you need to refresh your browser and store new cookies. If you are unable to retrieve important passwords then try to delete the cookies related to the website you are trying to access.
- Uninstall Plugins
502 Bad Gateway Error will also be an error when your website reached to its limit. All you have to do is to uninstall or delete some plugins to save some space in your server.
Check PHP settings
One of the ways to minimize overloading on your server is to adjust the maximum execution time and memory limit in your WordPress website to avoid 502 Bad Gateway Error.