However, some WordPress plugins insert lines into that file, which will cause conflicts causing an HTTP 504 error. which is why we highly endorse you to inspect the file and make sure it's proper.
This process will https://woracious.com/seo/ramifications-of-the-504-error-on-seo/