skip to Main Content

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?

2

Answers


  1. Chosen as BEST ANSWER

    I solved it by

    • Go /etc/httpd/conf/httpd.conf.
    • Change the AllowOverride None to AllowOverride All.
    • Restart the apache server.

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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search