WordCamp 2013 Import
Migrate by Tiffany France Tiffany France Twitter: @tiffylou
Email: email@example.com Manual Migrate Definitions: Import: to BRING data, images, or documents into WordPress from another program to SAVE data, images, or documents from WordPress in a format to be consumed by another software program. to MOVE data, images, documents AND the containing styles, layout, and infrastructure from one software program into WordPress Export:
Migrate: Tools > Import/Export The import/export tools are available in the dashboard under: Application based Migration Benefits:
Easy to understand and apply
Opens up potential for cross/corrupted data
Potential of forgetting something or typos
A bit more labor intensive Non-developers or casual developers (knowledge of HTML/CSS/FTP) Understanding XML file Start with a fresh WordPress Install Wordpress.com -> Creating a new blog
Hosting provider -> One click install
Manually set up install:
Copy of WordPress
Domain name Migrating Plugins WordPress.com doesn't allow plugins, but has some already built in, such as Akismet.
If you are migrating from WordPress.com to a stand alone install, be sure to add back Akismet and any other necessary plugin.
When migrating between two stand alone installs, review plugins and get rid of the ones you don't need. Hey, my users are all wack My import timed out Common issues I uploaded from localhost - where are my images Grabbing the theme 1. Does it exist in the free repository on WordPress.com?
2. Do you have a zipped version?
3. Can you access the themes folder via ftp? Can you access the new site's server files using ftp?
4. Can you choose a new theme? Check your settings 1. Check your theme, and update the customizable areas.
2. Check your homepage preference
3. Make sure your permalinks are set as they were in your previous blog
Redirect URLs from WordPress.com Now, let's do this sql style (not for WordPress.com) FTP -> download local copy of wordpress folder including wp-content
FTP -> upload this folder to your new domain
If using Apache server, your .htaccess file must be in the root WP folder
1. Grab a copy of your database Connect to myPHPAdmin on your old host and export your database 2. Create a new database on your new host 3. Add a new user
and new user privalages to your database 4. Import your database file 5. Now we'll run some sql queries to update the domain name instances in your newly imported database Generally, you will only need to replace the URI in 3 tables: wp_posts, wp_postmeta and wp_options. UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');
UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://www.old-domain.com', 'http://www.new-domain.com');
UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
6. Update wp-config.php with new database and db user/password info WordPress Set Up Hosting
Server $ MYSQL
FILES Domain Name /
DNS Provider $ WordPress
Application Modify your php.ini to increase processing time
Break your files into smaller chunks When you create a WordPress install locally, assets will be stored not in the library, but in a file under wp-content/upload Unfortunately, users can get very mixed up in the import process. Try this plugin before you import content:
http://matthewaprice.com/wp-export-users/ In order to redirect your users who are familiar with example.wordpress.com to example.com you will need to use a redirect feature. Changing domain names / permanent redirects Tell Google Perserve SEO by including Google sitemaps
Google sitemap plugin: http://wordpress.org/extend/plugins/google-sitemap-generator/ When domain names change.
1. Update your wp-config on your new server:
2. Open .htaccess on your OLD server and insert
RewriteRule ^(.*)$ http://www.newexample.com/$1 [R=301,L] 7. Login to your new site Homepage settings
Plugins and plugin settings
Update DNS server information If you have Webmaster Tools
Select Site Dashboard =>
Change of Address PART ONE:
Application based Migration PART TWO:
Manual Migration Export example: http://hamstertopia.wordpress.com Import example http://hamstermaniac.wordpress.com Update DNS Servers on your new domain: In WordPress.com choose Store > Domains
and add the new domain: Once your new domain is set to primary in WordPress.com, go back into your domain provider and reset original DNS Install fresh or existing copy of WordPress That's all, folks!See the full transcript