Most hosting solutions provide use of allow the web site error log by way of an admin dashboard. For WordPress web-sites, you can enable error logging by incorporating the subsequent lines for your wp-config.php https://woracious.com/seo/ramifications-of-the-504-error-on-seo/