How Do I Transfer My WordPress Blog Painlessly

How do I transfer my wordpress blog? Every now and then someone asks this question from me. But this question needs more context. Is the blog on localhost and you want to transfer it to a live host? Is the blog on a web host and you want to transfer it to another web host? Here is the answer to this question.

Use a WordPress Migration Plugin

WordPress plugins such as ‘All-in-One WP Migration’ plugin can transfer blog easily. Here is the process:

  • Install plugin on old site
  • Go to All-in-One WP Migration > Export
  • Click Export To File
  • Download the .wpress file (single file)
  • Install fresh WordPress on new host/domain
  • Install same plugin on new site
  • Go to Import, upload your .wpress file and restore your site

Free version of ‘All-in-One WP Migration’ has a 512MB limit. For larger sites, you can use UpdraftPlus, Duplicator, or the premium version. But if you search ‘migration’ or ‘backup’ in plugins repository, you will find plenty of free options that can transfer your blog easily. Use your mind.

Manual Transfer (More control)

I don’t recommend it but if you have no other choice and you don’t mind a little bit of suffering and pain, you can do it.

Backup Files

  • Use FTP (FileZilla) or cPanel File Manager
  • Download entire /public_html or your WordPress folder

Export Database

  • Go to old host’s phpMyAdmin
  • Select your WP database, Click Export, Choose SQL

Upload to New Host

  • Upload WordPress files to new host via FTP
  • Create new MySQL database in phpMyAdmin
  • Import SQL file via phpMyAdmin

Edit wp-config.php

Update the database credentials in following lines:

Update URLs (if domain is changing)

Use plugin like Better Search Replace to change old URLs to new ones.

Example:
Old: http://oldsite.com
New: https://newsite.com

Update permalinks (Settings, Permalinks, Save)
Reconfigure email/Site URL (Settings, General)

Check all media and links.

Video Tutorials

In fact I have several video tutorials on wordpress migration and transfer.

Find more on WebStylePress

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top