wordpress site showing installation after migration

  • updated
  • Answered

I want to migrate wordpress (change hosting) and for this first of all i moved all files and folder to new hosting panel and change base url in wordpress,but after migration whenever i refresh home page then its showing installation of wordpress(fresh wordpress installation) so how can fix this issue ? where i am wrong ? here is my .htaccess file

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress
Arnel C
  • Answered

Hello Amit,

Sorry for the issue with your WordPress site not working after migration.  One of the things you will need to look at is your database.  Make sure that it is connecting correctly in the wp-config.php file.  Check the database name and password. Also, there is a good chance that your database tables were using a prefix.  If that is the case and they were migrated with or without it, then you need to check that your wp-config.php file matches up with your database.  Your file may contain a line like this:

$table_prefix  = 'wpgo_';

If your tables are using a prefix (it can be different than "wpgo_"), and your table_prefix is not set in the wp-config.php file, then your WordPress installation will not see the database and think it needs to be created, thus leading to the installation screen.  If you continue to have problems with this, then I recommend speaking with our live technical support team via phone/chat - they can work real-time with you to see what's causing the issue.

If you have any further questions or comments, please let us know.

Kindest regards,

Arnel C.

Arnel C
  • Under review