Tag Archives: import

pantheon.io and wordpress: starting, migrating, or importing a site

part one of this tbd series deals with starting a brand new install from scratch on pantheon, or migrating an existing site (local or remote) onto patheon. but first:

a brief foray into pantheon terminology

pantheon has three main ways of categorizing your wordpress build. two make sense.

code: your entire file structure of your wordpress directory. basically everything except the database. oh, and, somewhat inexplicably, without the uploads* folder. you’ll need it, but i’ll get to that.
*located at wp-content/uploads

database: er, yeah, the database, in the form of an SQL dump.

files: here’s where it gets a little weird. for reasons that my cursory googling could only partially figure out (storage, size reasons), pantheon keeps everything normally in an uploads folder in a separate root directory called “files”. so that’s a thing.

Continue reading pantheon.io and wordpress: starting, migrating, or importing a site

this sqldump file is too big for a text editor to find and replace without crashing, HELP

this helpful tidbit is for readers with perl installed on their computers that need to perform a find-replace on entirely too large of an SQL file. on a mac you can find out if you have perl by checking for the version:

perl -v

if something shows up like “This is perl 5, version 18, subversion 2, etc. etc. etc.”, congrats, you have perl!

the other day i was exporting a monster wordpress site and needed to do a find-replace on the entire database before importing again. the sql file was a tad large, and by that i mean it crashed my Sublime Text Editor. it also crashed a regular text editor and Coda. so i did what i always do when my programs fail me: to the command line!

Continue reading this sqldump file is too big for a text editor to find and replace without crashing, HELP