Wordpress redirects to /wp-admin/install.php after migration

So, you've completed migration of your Wordpress, restored all the tables, copied all images and it should now open your website but instead it just sends you to


Everything seems to be in place, it just doesn't want to work.
Your issue lies within wp-config.php file. You have to double check the $table_prefix field and make sure that it corresponds to table prefixes in your actual database.

* WordPress Database Table prefix.
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
$table_prefix  = ‘wp_’;

It has to correspond to the last letter and watch out for UPPER/lower case mismatches. Use phpMyAdmin to examine your tables. Each and every table in your database has to have the same prefix that is set up in your wp-config.

Correct table names in your database:

Incorrect table names in your Wordpress database:

Even one symbol difference will force your WordPress into installation mode.
  • 101 Users Found This Useful
Was this answer helpful?

Related Articles

Disabling the WP-CRON.php in Wordpress

Wordpress uses a file called wp-cron.php as a virtual cron job, a task that is scheduled in order...