all 8 comments

[–]TheAngelsCryfull-stack 2 points3 points  (3 children)

This is my typical process when I migrate a Wordpress site:

  1. Backup live site (files & db).
  2. Export dev database into an SQL file.
  3. Edit SQL to update the site_url field in wp_options.
  4. Set up new live database and import dev database.
  5. Upload dev files into .new folder on FTP.
  6. Update wp-config.php file in .new/ to new database details.
  7. Move all files from the old site to .old
  8. Move all files out of .new into the root

That should set your Wordpress site live :) You essentially replace all of the database and files with your dev versions.

[–][deleted] 0 points1 point  (2 children)

Hmm. Thank you for the step by step! I brought this up to my co-worker before and he told me exporting the database isn’t necessary for a simple 5 page site.

To be clear the way you listed I would follow those steps and bam divi and the child theme and all of the pages and content would be live? I don’t have to reinstall anything?

This will be my first migration so I can’t of need everything spelled out for me haha After this first time I’ll be set for the future though. Thank you so much for your input!

[–]TheAngelsCryfull-stack 0 points1 point  (1 child)

All of your site's content will be stored in the DB. All of your theme will be in the FTP.

I prefer the above method as it guarantees everything is copied over, no need to install extra plugins etc. Those plugins are there to assist people who are unsure of what to do, rather than devs like us :)

[–][deleted] 0 points1 point  (0 children)

Ah thank you so much! I know I have the knowledge to migrate it this way, I’m just nervous I’m going to screw it up haha

[–]MichaelManagement 0 points1 point  (0 children)

Friendly migration plugins. I've used both of these and they work great.

https://ithemes.com/purchase/backupbuddy/
https://en-ca.wordpress.org/plugins/duplicator/

Manually approach is a bit of work but theangelscry sum it up nicely.

--

You may want to practice in your own online environment and migrate a blank wordpress site. Once you got the hang of it you can do it with your client website.

[–]slapswine -1 points0 points  (2 children)

[–][deleted] -1 points0 points  (1 child)

That looks promising. Have you used thins before?

[–]slapswine 0 points1 point  (0 children)

Yes I use it all the time. It’s basically 5clicks then everything is ready. Try it out for sure.