• I have just copied the WordPress package to https://www.modestholdings.com, in the site root. I can view readme.html and license.txt in my browser, but attempting to browse to any PHP file results in a 404 error. I don’t have any .htaccess files on the site.

    I recently had Concrete5 installed, which worked as it was supposed to, so I’m pretty confident my host is correct when she assures me that the SQL database is configured correctly. Can anyone shed any light on this?

    Thanks in advance,
    —J

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Check the web server logs and see what they say. Typically they contain all the needed information. these can be found from the hosting provider’s control panel, unless you have your own hosted server.

    Thread Starter modestholdings

    (@modestholdings)

    Thanks for your reply.

    I don’t have ready access to the logs. I’m hosted third-hand from a friend of a friend via their hosting service. Any other ideas?

    If the files are there and you are still getting 404’s the only option are the server logs. Wouldn’t it be possible to ask the admin for a copy of the logs?

    Else start with the basic. upload a file hello.php with a hello world like the below:

    <html>
     <head>
      <title>PHP Test</title>
     </head>
     <body>
     <?php echo '<p>Hello World</p>'; ?>
     </body>
    </html>

    Call it using a web browser; https://[yourwebsite]/hello.php.

    Do you see a hello world text? If yes, you know you are uploading the files to the correct location and PHP is being executed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post File Copy, All PHP Files Return 404 Error’ is closed to new replies.