Skip to content

Moving WordPress blog to new domain

This is how I moved my wordpress blog from to

  • Install wordpress on
  • Went to and copied the wp-content Directory and replaced it with the Directiory on (So all the theme, plug-in and the uploaded contents are all there…)
  • Went to and used phpMyAdmin to drum an .sql file of the database. (You may prefer .gz depending on the file size)
  • Went to and used phpMyAdmin to drop all the tables on the wordpress database.
  • Imported the backed up database from

Ran the following SQL Queries…

UPDATE wp_options SET option_value = replace(option_value, '', '') WHERE option_name = 'home' OR option_name = 'siteurl';<br />
UPDATE wp_posts SET guid = replace(guid, '','');<br />
UPDATE wp_posts SET post_content = replace(post_content, '', '');<br />

That’s it, All set, now you can tweek the blog!

comments powered by Disqus