• Hi,

    I downloaded WordPress 2.9.2
    Then I created a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.
    Then I renamed the wp-config-sample.php file to wp-config.php and made the changes needed with database details and secret key stuff, saved.
    Then i used filezilla to upload the wordpress folder to my /www folder on the server.
    I went through the install but it had weird lines of code at the top of each page, then completed install. Then I couldn’t get into wordpress.

    SO

    I read a few things that said it had to be in the root directory (/) so I moved the wordpress folder in (/www) up to (/). Then i couldn’t access the page still.

    So I deleted the folder, deleted the database. Created a new database (same name) and uploaded the entire wordpress directory again (this time directly into the root (/)). But now I get a 404 when I try to go to http://a-life.me/wordpress or http://a-life.me/wordpress/wp-admin/install.php.

    Help please 🙁

    (I’m using cPanel btw).

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m guessing you were right the 1st time
    a lot of hosts use www and public_html for the root
    getting the install to run tells me that

    not sure about the weird lines of code, but try it again in the www folder

    edit – just noticed you said cpanel
    you should have a public_html folder – that will be your root

    WordPress does *not* have to be in the root directory, but there may be some confusion here.

    – If you upload the wordpress folder (directory) to your root directory (whether root is called “www” or “public_html” or whatever on your server), then WP would not be in the root … it would be in the wordpress folder under the root directory:
    site.com/wordpress/

    – If you want WordPress to be in root, then after you extract WP from the .zip or .tar file, upload everything that’s in the wordpress folder to the root … but not the directory/folder itself. Then you’d access it as site.com.

    That said, I’m not sure what’s causing the installation problem. There should *not* be weird lines of code at the top of each page during installation. I’m wondering if this has to do with how you uploaded the files.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Install.php not working second time around’ is closed to new replies.