I need to move my WP install. Domain name is the same. This is what I did:
- I backed up the DB and "wp-content" folder.
- I installed fresh WP install on new server
- I emptied the DB of the fresh install and imported into it the content of the old DB (because prefix rules prevent me to create a DB carrying the same name as old DB)
- I replaced the "wp-content" folder of new install by the "wp-content" of old install
Now I have the new DB (containing old content) with the new "wp-config.php" that comes with it. Yet I get a blank screen. Why?
wp-config.php
. Because wordpress can't findwp-config.php
it will automatically take you to setting up awp-config.php
. When asked for db details, enter the details of your db. Wordpress will now create a newwp-config.php
and you should be able to see your site normally. One thing I would advice is to flush your permalinks when you log in