• Resolved aussierobbo

    (@aussierobbo)


    Hi, I’ve uploaded the files in the wordpress folder using FTP.

    I tried to view the wp-admin/install.php file, but I get a 404 error. I then tried changing the wp-config.php file as instructed in the readme file (in the wordpress download), but still get a 404 error on that file and the install.php file – or any other file I try to view…

    What am I missing? Does PHP have to be setup within my hosting? I’m using cPanel and have created a MySQL database and user as instructed on the various set up pages…

    Any advise would be greatly appreciated!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Are you uploading the files to your public_html folder. That typically in cPanel is the document root for your domain. Make sure you upload the files to the correct folder. Also, PHP does have to be installed by your host for you to use WordPress.

    Thread Starter aussierobbo

    (@aussierobbo)

    Yes, I uploaded the files to public_html. I’ve sent a message to the hosting provider to find out if it’s already set up for PHP – that might be the problem…

    One other question, when I try to view the files, does ‘public_html’ show up in the URL? For example, do I go to http://www.mydomain.com/public_html/wp-admin/install.php or is public_html not required in the URL… until now I’ve tried both each time, but obviously get a 404 for each!! 😉

    Thanks

    Try a fresh download and fresh installation. You may need to check your database credentials with your hosting provider if necessary

    Hi aussierobbo,

    You go to http://www.mydomain.com/wp-admin/install.php

    It’s set so your root folder is the public_html so you do not need that in the path. I highly doubt the issue is with PHP on the server. Do you have PHPMyAdmin in cpanel? If so, you’ve got PHP installed. I would make sure the paths are correct, and the domain is pointed to your account. Did you get the domain name through another source other than your host? If so, did you change the nameservers to point to your hosting account?

    If you did make a change to the nameservers, did you allow at least 24 hours for propagation time?

    Post your domain name and I’ll see if I can sort out the correct path for you!

    Thread Starter aussierobbo

    (@aussierobbo)

    Thanks for your help so far Tim!

    I do have PHPMyAdmin in cPanel, so that answers that question…

    At this stage I haven’t pointed the nameservers at this new location as I’ve got an existing wordpress (.com) site that is running and I want to get this install sorted out before pointing the domain at the new setup.

    The new IP address is 174.122.109.98 so I’ve just been trying to access 174.122.109.98/wp-admin/install.php or /wp-config.php

    Thanks again.

    Thread Starter aussierobbo

    (@aussierobbo)

    I’ve just tried a fresh download and installation as suggested, but with the same result.

    I’ve also tried viewing a non-PHP file (/license.txt) and it also returns a 404 error, so we can definitely rule out this only being a PHP related issue…

    Any further advice / suggestions would be greatly appreciated!

    That’s the issue- WordPress uses the URL in it’s structure. If you’re on a shared server, the IP address points to the server but not your account. If you have a temp URL that your host has provided you can use that. When you go to the IP address, it points to the server but not your account.

    I would suggest contacting your host and finding out the correct temp URL to your account and you’ll be able to use that.

    Thread Starter aussierobbo

    (@aussierobbo)

    You’re right Tim. I ended up just biting the bullet and pointing the nameservers to the new IP and quickly importing the wordpress XML file once they went live. We don’t get a terrible lot of traffic, so was no big issue in the end…

    Thanks for all your advice! Cheers…

    No worries, I’m glad I could help you out.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘404 error after uploading wordpress folder’ is closed to new replies.