WordPress.org

Ready to get started?Download WordPress

Forums

Moved Site to New Server. Error (6 posts)

  1. aeboi80
    Member
    Posted 1 year ago #

    I moved my site xyzsite.com to a new server. The domain is still xyzsite.com

    When I goto the site on the new host after nameserver propagation I am getting redirected to http://www.xyzsite.com/wp-admin/install.php

    Why am I being redirected to re-install WP ?

    On the old hosting provider the wordpress install resided in a folder called /site which was in the root. So the actual url to the WP site was xyzsite.com/site/

    This was done via HTACCESS.

    To move the site to the new host, I exported the database from PHPMyAdmin

    Zipped up the entire site, downloaded the zip file, then uploaded the zip file to the new host, extracted the zip file, imported the database into PHPMyAdmin on the new host.

    I edited WP-CONFIG.PHP to reflect the new hosts database, database user, database password and database server host.

    The database tables had a prefix of Truewp_ on the old host and I verified that they still have this on the new host.

    Additionally, the W3 Super Cache was runnign on the old host, however I disabled the plugin and removed the setting from WP-CONFIG.php before moving the site to the new host.

    What could be causing this to go to the WP install page?

  2. Tara
    Member
    Posted 1 year ago #

  3. aeboi80
    Member
    Posted 1 year ago #

    Thanks however that is not helpful. I quite familiar with that page as I've referenced it many times in the past when moving sites. This issue seems to be unique in that its trying to reinstall wordpress over itself. I've encountered a similar issue on a different site where it did this and when I ran the install it picked up on the fact that the database already existed and simply took me right into the wp-admin.php page. This time however it did not. I completely wiped out the database, themes, plugins, and installed a fresh copy of WP. I ended up having to re-move the site again, and its in the current state of wanting me to re-install WP again.

  4. DaveCoast
    Member
    Posted 1 year ago #

    Do you have an account prefix from your hosting provider for your database and database user and if so did you take that into account?

  5. Tara
    Member
    Posted 1 year ago #

    -Might make sure your WordPress and Blog addresses are correct:

    -Also make sure your something in the .htaccess file isn't causing the problem.

    -Also, contact the hosting provider and see if they can do something at their end.

  6. aeboi80
    Member
    Posted 1 year ago #

    Yes the db on the old host had a prefix of Truewp_ and the database has this on the new host as well.

    I've tried disabling permalinks before transferring it as well thinking it maybe something in the htaccess file but that did not make any difference. I've also tried disabling all plugins before doing the db export and that made no difference either.

    The wordpress and blog addresses are both set to the same as they were on the old host. I even tried manually defining them in wp-config.php and still no difference.

    It simply continues to take you to the install page, yet when you look at the files via FTP all of the files are there (theme, plugins, core files). PHPMyAdmin displays the database correctly too. I just don't know what could be causing the site to not display.

Topic Closed

This topic has been closed to new replies.

About this Topic