Title: Problems with migration
Last modified: August 30, 2016

---

# Problems with migration

 *  [theprotoss](https://wordpress.org/support/users/theprotoss/)
 * (@theprotoss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/)
 * Hello.
 * I’m experiencing problems during a wordpress website migration.
 * So, to do the migration, I exported the mysql database from the old installation,
   I created a new database on the new server, with the same db name, username and
   password, and I imported it.
 * I used the mysql40 compatibility mode of the phpmyadmin to export the database
   because, if I do the quick-standard exportation, when I try to import the database,
   phpmyadmin on the new server returns an error (unknown collation ‘utf8mb4_unicode_ci’).
 * Then I copied all the website files from the old hosting webspace to the new 
   one.
 * The website on the new server runs correctly, I also installed plugin updates
   and the new wordpress version, but the graphic is bad (some people said to me
   that the css is not loading correctly).
 * What have I to do?
 * Thanks,
 * Carlo

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Alen](https://wordpress.org/support/users/alenma/)
 * (@alenma)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/#post-6510766)
 * Hello Carlo,
 * I would suggest to use this plugin: [https://wordpress.org/plugins/wp-clone-by-wp-academy/](https://wordpress.org/plugins/wp-clone-by-wp-academy/)
 *  Thread Starter [theprotoss](https://wordpress.org/support/users/theprotoss/)
 * (@theprotoss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/#post-6510769)
 * Thank you Alen! I will try and I will let you know!
 * Thanks again!
 *  Thread Starter [theprotoss](https://wordpress.org/support/users/theprotoss/)
 * (@theprotoss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/#post-6510782)
 * Hello, I tried using the plugin, but after some minutes it says:
 * The plugin encountered an error during the database backup,the following error
   message was returned:
    Error Message : MySQL server has gone away
 * Temporary files created in /home/xaclzzst/public_html/wp-content/uploads/wp-clone/
   wpclone_backup will be deleted.
 *  Thread Starter [theprotoss](https://wordpress.org/support/users/theprotoss/)
 * (@theprotoss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/#post-6510808)
 * Done the backup. I downloaded the file and uplodaded on the new server.
 * I installed a clean wordpress copy and installed the theme.
 * I installed the wp-clone plugin also on the new clean installation, and uploaded
   the zip file.
 * If i click on restore and I write the url ([http://website.it/namefile.zip](http://website.it/namefile.zip))
   
   it returns this error:
 * The plugin encountered an error while extracting the zip file using WP’s zip 
   file extractor,the following error message was returned:
    Error Message : Impossibile
   copiare il file. (Impossible to copy the file).
 * Temporary files created in C:/Inetpub/vhosts/associazioneshoot.it/httpdocs/wp-
   content/wpclone-temp will be deleted.
 * What can I do? Thanks.
 *  [leejosepho](https://wordpress.org/support/users/leejosepho/)
 * (@leejosepho)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/#post-6510810)
 * > I’m experiencing problems during a wordpress website migration.
 * From where (specific path) to where (identical path?), and with the same URL 
   to be used or a different one?
 * > I exported the mysql database from the old installation [to]…the new server,
   > with the same db name, username and password…
 * If the old and new paths and/or URL are not identical, you need this to update
   the database if you did not change Dashboard > Settings > General prior to export:
 * cPanel > phpMyAdmin SQL
 * note: Edit ‘pref’ (the table prefix in three places below) to your own value ()
   as in `$table_prefix = '???_';` in wp-config.php), and then change ‘[http://www.olddomain.com&#8217](http://www.olddomain.com&#8217);
   and ‘[http://www.newdomain.com&#8217](http://www.newdomain.com&#8217); as required(
   three places each and with no trailing slashes)
 *     ```
       UPDATE pref_options SET option_value = replace(option_value, 'http://www.olddomain.com', 'http://www.newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
       UPDATE pref_posts SET guid = replace(guid, 'http://www.olddomain.com', 'http://www.newdomain.com');
       UPDATE pref_posts SET post_content = replace(post_content, 'http://www.olddomain.com', 'http://www.newdomain.com');
       ```
   
 * > I also installed plugin updates and the new wordpress version, but the graphic
   > is bad (some people said to me that the css is not loading correctly).
 * You might have a situation where a plugin or whatever uses “absolute server path”
   and will need to be uninstalled (not merely deactivated) and then re-installed
   so it can again find that path.
 *  Thread Starter [theprotoss](https://wordpress.org/support/users/theprotoss/)
 * (@theprotoss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/#post-6510818)
 * Ok perfect, thank you leejosepho.
 * Url is the same. Path are different, now they are on a shared server (with the
   path Xuqxzs7KLh/public_html/), on the new server the exact path will be c:/inetpub/
   vhosts/domainname.it/httpdocs .
 * So path are different.
 * I will try to do the migration again and to uninstall and re-install plugins.
 * Thanks again
 *  Thread Starter [theprotoss](https://wordpress.org/support/users/theprotoss/)
 * (@theprotoss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/#post-6510830)
 * Found the problem: it was the w3 total cache plugin…
 * Uninstalled it and the website now is ok!!!
 * Thank you!
 *  [leejosepho](https://wordpress.org/support/users/leejosepho/)
 * (@leejosepho)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/#post-6510844)
 * > Found the problem: it was the w3 total cache plugin…
 * Cool beans. I had discovered that for myself at BulletProof Security Support 
   when the same update had been needed.
 *  Thread Starter [theprotoss](https://wordpress.org/support/users/theprotoss/)
 * (@theprotoss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/#post-6510893)
 * Got it, all’s well That ends well :DDD
 * tnx again man. 😉

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Problems with migration’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [theprotoss](https://wordpress.org/support/users/theprotoss/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/problems-with-migration/#post-6510893)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
