Slide 1

Slide 1 text

Migrating Content is like Moving House How did we end up with all this stuff? And where does it all go now? @ eddhurst #WCLDN

Slide 2

Slide 2 text

Moving House Sucks... No matter how many times you do it, or how many things you think you might be able to “do better next time”, it’s always a major faff. I’ve done it a lot. @ eddhurst #WCLDN

Slide 3

Slide 3 text

It’s ALWAYS different Like that time I moved 250 feet across the road Or that other time I moved (literally) around the corner Or last year when I moved 350 miles to Brighton @ eddhurst #WCLDN

Slide 4

Slide 4 text

Some things are the same though Okay - not everything is different. And as it turns out - migrating website content is a lot like moving house... @ eddhurst #WCLDN

Slide 5

Slide 5 text

What can we learn? ( And why do I care? ) @ eddhurst #WCLDN

Slide 6

Slide 6 text

Step One What have you got? @ eddhurst #WCLDN

Slide 7

Slide 7 text

It doesn’t need to be too specific - any information is a good start. ➔ General content Pages ➔ Core Blog functionality ➔ WooCommerce Shop ➔ PDF downloads 1. What have you got? @ eddhurst #WCLDN

Slide 8

Slide 8 text

@ eddhurst #WCLDN

Slide 9

Slide 9 text

1. What have you got? @ eddhurst #WCLDN ➔ 50 Pages - with 4 templates ➔ 778 Blog posts, in 45 categories ➔ 70 users ➔ 5000 images uploaded over 5 years ➔ 3 PDF downloads

Slide 10

Slide 10 text

➔ Why bother moving spam comments? ➔ “I never used the blog” ➔ “All those PDFs are being redone anyway” Source: Wikimedia @ eddhurst #WCLDN

Slide 11

Slide 11 text

2. Set it on FIRE @ eddhurst #WCLDN ➔ Why bother moving spam comments? ➔ “I never used the blog” ➔ “All those PDFs are being redone with the new branding”

Slide 12

Slide 12 text

Step Three Where does it all go? @ eddhurst #WCLDN

Slide 13

Slide 13 text

3. Where does it all go? ➔ Blog posts go in the blog. ➔ Images into the media library. ➔ Pages... ◆ Just keep them as pages ◆ Maybe a Custom Post Type? ◆ Do I need page templates? @ eddhurst #WCLDN

Slide 14

Slide 14 text

Step Four It won’t all fit! @ eddhurst #WCLDN

Slide 15

Slide 15 text

➔ Why bother moving spam comments? ➔ “I never used the blog” ➔ “All those PDFs are being redone anyway” @ eddhurst #WCLDN Source: Wikimedia

Slide 16

Slide 16 text

(Side) Step Five What’s the best way? @ eddhurst #WCLDN

Slide 17

Slide 17 text

5. What’s the best way? ➔ Spreadsheet ➔ Homemade chalk board ➔ Small, easily lost notepad. ➔ Draw on the windows like you’re a genius solving complex algorithms. ➔ Always use lots of arrows. ➔ Or Post Its @ eddhurst #WCLDN

Slide 18

Slide 18 text

- Itemise content - Get rid of dead wood - Map it to it’s new location - Get rid of leftovers - Fill in the gaps @ eddhurst #WCLDN

Slide 19

Slide 19 text

➔ Why bother moving spam comments? ➔ “I never used the blog” ➔ “All those PDFs are being redone anyway” @ eddhurst #WCLDN Source: Wikimedia

Slide 20

Slide 20 text

Step Six Pack it up, move it out. @ eddhurst #WCLDN

Slide 21

Slide 21 text

6. Moving Day @ eddhurst #WCLDN ➔ Clone everything ➔ DIY - Copy & Paste ➔ DIY - with Plugin ➔ Professional Migration

Slide 22

Slide 22 text

6. Moving Day @ eddhurst #WCLDN ➔ Clone everything ➔ DIY - Copy & Paste ➔ DIY - with Plugin ➔ Professional Migration

Slide 23

Slide 23 text

6. Moving Day @ eddhurst #WCLDN ➔ Clone everything ➔ DIY - Copy & Paste ➔ DIY - with Plugin ➔ Professional Migration

Slide 24

Slide 24 text

6. Moving Day @ eddhurst #WCLDN ➔ Clone everything ➔ DIY - Copy & Paste ➔ DIY - with Plugin ➔ Professional Migration

Slide 25

Slide 25 text

6. Moving Day @ eddhurst #WCLDN ➔ Clone everything ➔ DIY - Copy & Paste ➔ DIY - with Plugin ➔ Professional Migration

Slide 26

Slide 26 text

Step Seven Scalability @ eddhurst #WCLDN

Slide 27

Slide 27 text

7. Scalability @ eddhurst #WCLDN Houses are pretty straightforward, but what about if you had to move something bigger? ➔ Office block ➔ Hotel ➔ Library ➔ Museum

Slide 28

Slide 28 text

Step Eight Important, order is. @ eddhurst #WCLDN

Slide 29

Slide 29 text

8. Important, Order is. @ eddhurst #WCLDN ➔ Pack the kettle LAST ➔ Pour in the water, then add milk. ➔ Put your coat at the top of your bag in case it rains ➔ Spread the Jam, then add dollop(s) of cream.

Slide 30

Slide 30 text

What does Success look like? Sometimes success is just “not failing”. ( That’s ok. ) @ eddhurst #WCLDN

Slide 31

Slide 31 text

Gotcha: Importing Images @ eddhurst #WCLDN /uploads/2012/07/image1.jpg > /uploads/2017/03/image1.jpg /uploads/2013/04/image2.jpg > /uploads/2017/03/image2.jpg /uploads/2015/09/image3.jpg > /uploads/2017/03/image3.jpg

Slide 32

Slide 32 text

It’s not always clear what a plugin will do, so double check first - Cloning from A to B will overwrite your data - Importing posts fresh will just add to your existing data Gotcha: Clone or Migrate? @ eddhurst #WCLDN

Slide 33

Slide 33 text

Gotcha: Post ID changes WordPress uses Post IDs internally to understand how things relate. when you import new content old and new IDs are unlikely to be the same! @ eddhurst #WCLDN

Slide 34

Slide 34 text

Gotcha: 301 Redirects Make sure to keep a record of all the legacy URLs and post IDs It might be useful! @ eddhurst #WCLDN

Slide 35

Slide 35 text

Migrating Content is like Moving House How did we end up with all this stuff? And where does it all go now? @ eddhurst #WCLDN