quick development notes

Tons of tutorials are out there to help people install WordPress on their local machines. But what if you wanted to import an existing blog? Here are my quick notes. You should probably have already set up your WebServer (PHP enabled in Apache, MySQL installed (on OS X, there are simple installers and admin tools (GUI applications) that makes things easier, unless you prefer phpmyadmin).

  1. Import database from live site using phpmyadmin or any other MySQL tools, if you want actual data.
  2. Setup the database to mirror the settings as the live site (create a database, user, password, etc.)
  3. For some odd reason, the default ‘localhost’ variable in wp-config.php was not working for me, but changing it to ‘127.0.0.1′ works.
  4. Download site via FTP (1, 2) or methods (WebDAV) that work.
  5. Install and run move script to localize the URLs.

Et voilà, you can now develop your local version.

Tags: , ,

Leave a comment