• 29th, Jul 2011

Upgrade WordPress 2.x to 3.x with Flutter migration to Magic Fields

Such a hard work was this migration / update of a company due to an old version of WordPress 2.5 using Flutter.

This is the case:
Wordpress 2.5 (OLD)
- Flutter

Migration to:
Wordpress 3.2.1 (NEW)
- Magic Fields

My successful process as follows

OLD – WordPress 2.5 all posts / categories / users (current server)
NEW – WordPress 3.x clean instalation (in a new server or localhost)

1) Create a fresh WordPress 3.x (NEW) with the newest version and all plugins like in (OLD)

2) Copy all settings and users manually of admin from OLD to NEW

3) Migrate from Flutter to Magic Fields (OLD)
Before upgrading WP 3.x
a) Deactivate flutter plugin
b) Execute the script to migrate tables http://gist.github.com/558207
c) Rename the name of wp-content/files_flutter to wp-content/files_mf
d) Install plugin Magic Fields
e) Activate it

4) Upgrade WordPress to 3.x and all plugins (OLD)

5) Copy from OLD all files and overwrite NEW

6) Import these tables from server to localhost database
** Do a full replace of your_old_server.com to your_new_server.com **
wp_commentmeta
wp_comments
wp_links
wp_mf* (all wp_mf wordpress_magic fields tables)
wp_postmeta
wp_posts
wpmt_terms
wpmt_term_relationships
wpmt_term_taxonomy

7) You will notice we don’t move wp_options, wp_users… these tables you have to open two browser windows and config all from server to localhost manually.
wp_options especially is the most complicate part and it is like Microsoft Windows. It’s better format with a fresh version than upgrade it.
Why? After several tries this way is much better, if not you will get errors like:
>>> You do not have sufficient permissions to access this page.

That’s it!

What can I do next?

1) See if the website works fine
2) Check the Settings > Reading has the default home page set.
3) Check your Settings > Permanent Links
4) The last one but the most important, you could have some issues with old plugins used on your theme. Check the code, upgrade your plugin or rewrite the old code with new WP3.x features. Happy coding!

Tags: , , , ,

Leave a Reply

*

© 2010 unexpected[it]. All Rights Reserved.