0

I have a server of my client and I deployed my WordPress website to it using an FTP account, when I try to open My WordPress website I keep getting 504 Bad gateway error as the following screenshot

enter image description here

I tried to add a simple HTML document and it works, also I have been attempting to add a test PHP file with phpinfo inside it and it works also, but the WordPress is not working

I also tried to disable app plugins and the same problem remains Can anyone advise me on what I should do?

Amira Elsayed Ismail
  • 9,216
  • 30
  • 92
  • 175

2 Answers2

0

Could it be related to the site URL settings in wp-config? Info here: https://wordpress.org/support/article/changing-the-site-url/

BMartin
  • 117
  • 5
0

I solved it by

  • Go /etc/httpd/conf/httpd.conf.
  • Change the AllowOverride None to AllowOverride All.
  • Restart the apache server.
Amira Elsayed Ismail
  • 9,216
  • 30
  • 92
  • 175