Jeep87c
Jeep87c

Reputation: 1120

Wordpress template shown after migration to new web host

So I migrated my Wordpress website from Godaddy to Hostgator.

Here's what I did:

  1. Made a dump of the db using PhpMyAdmin
  2. Copied every single files from my www/ folder (including the .htaccess)
  3. Pasted those copied file to the new host www/ folder
  4. Created a new MySQL db and user on new host
  5. Updated the wp-config.php file with new db name and user info.
  6. Ensuring path in data are ok (new host use /home2 instead of /home)
  7. Since we have 2 domain name which one was unused, I pointed that one to the new nameservers host so I can try everything works fine
  8. Ensure in db data it uses the second domain name (unused until now)

So both website are similar, same files same db but hosted at two different places.

The expected result is: http://dsi-ing.com

But currently, nothing from the db is loaded and what is shown is the bare theme without any of my modification or data...

You can see it for yourself at: http://dsi-ing.ca

I can't access the wp-admin section too. And same thing when I try to access /wp-login.php

Please help...

Upvotes: 0

Views: 110

Answers (2)

Jeep87c
Jeep87c

Reputation: 1120

Issue was in the DB SQL dump file generated by PhpMyAdmin. Once fixed, everything worked fine!

Upvotes: 0

Julien P.
Julien P.

Reputation: 11

  • Did you check PHP error logs?

  • You may turn WordPress in debug mode (set define ( 'WP_DEBUG', true ) in the file wp-config.php.

You should then know if there is a problem with the database access, filesystem permissions or missing files.

Upvotes: 1

Related Questions