• I have numerous sites. I uploaded wordpress to a new site in the root directory and it works fine, then, uploaded to a subdirectory of an existing site, (that I cant lose while I create the wordpress version). I created two SQL databases on oneandone, and changed the config files, but I cannot get to the second (subdirectory) blog – no matter what I put in the url line – with/without the sub directory – am I just being very thick?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please clarify and tell us steps to reproduce the problem. The cause of 404 error could be:
    1. No files at the current address.
    2. DNS issue.
    3. PHP is not working.

    Thread Starter rammers

    (@rammers)

    I uploaded wordpress to site1.com into the root directory, changed the config.php file and put in the sql paremeters. it works perfectly. Then I uploaded a new copy of wordpress to site2.com/wordpress, changed the config file, put in the second SQL database parameters and always get error 404 when i put http://site2.com/wordpress/wp-admin/install.php Ive tried all available combinations, but always error 404.
    I use oneandone for the SQL, and have created two separate databases.
    The files are on the server in the subfolder for site2, but because the site is already in use the root directory needs to remain free.
    PHP should be working becasue site1 works.

    Have you changed DNS records for site2 domain name recently? Or have you moved your site2 to this hosting recently?

    Usually it’s possible to turn on and off php for different domains in hosting control panels like cpanel, plesk or any other. If php works for site1, it doesn’t mean if works for site2. Make sure you have PHP enabled for site2. If it’s ON, then try to turn it OFF and then ON again.

    You may also try to create simple php file and place it into wordpress or root directory:
    <? phpinfo(); ?>

    Try to access the file with your browser and you’ll see whether php works or not. Make sure you are uploading to correct directory.

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

The topic ‘Always error 404’ is closed to new replies.