DISQUS

Austin Web Designer - Adam Freetly: Migrating a WordPress Install to a New Domain

  • richard · 1 year ago
    Thanks for putting this up. I'm not planning on moving anytime soon, but I've bookmarked it. Who knows what the future will bring.
  • hso · 1 year ago
    In some instances, the SQL data will not contain the http prefix, so it's better to just find and replace without the http://

    Also, it is imperative that the prefix used while creating the database both on your local server/old site and online/new site are the same. WordPress by default uses wp_ as the prefix (in wp-config.php), but if your any reason you changed it, you should use that very prefix on the new install. Adam, correct me if I am off here.
  • sunburntkamel · 1 year ago
    @HSO -
    interesting, i've never seen a setup that didn't include the http:// prefix. The reason I included the http:// is to make sure that there aren't www's left over. if you're find/replacing without the http://, you should replace
    'dev.site.local/temp
    with
    'example.com

    And yes, it's very important to make sure you have the same database prefix.
  • Andy Howard · 1 year ago
    Awesome guide, just what I've been looking for. I've found migrations a little tricky in the past, and this will really help me.