bad gateway

  • Unknown's avatar

    Hi there! I can’t seem to log into our site – https://joelandjustyna.com/admin – every time i fill in the proper credentials, I get a 502 bad gateway….

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi @oelbedfordphotography,

    Your site joelandjustyna.com is using the self-hosted version of WordPress, and you need to seek help at the WordPress.org forums:

    https://wordpress.org/support/forums/

    These forums are for WordPress.com hosted sites only :)

    There are many reasons behind the bad gateway issue. Some of the most common ones are:

  • Bugs in the database of the website
  • Unavailable or timed out server
  • Issues with the reverse proxy server
  • Issues in the PHP codes, which are generally caused by the third party software, including plugins and themes
  • Server overloading due to the massive number of website visitors or a DDoS attack
  • Firewall blocking the requests
  • Checking the error logs often work as a great solution. To enable logging, you have to add the following codes in the wp-config.php file:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    Check this Article
    How to fix WordPress 502 Bad Gateway Error

    Thanks !!!