WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running several Wordpress installs on my desktop machine using XAMPP. I would like to move them to my laptop as well. Can I simply copy the htdocs, mysql and phpMyAdmin directories to the laptop, replacing the ones from the new install? What if I copied everything in the directory structure under XAMPP?

Will this work, or will everything go gruesomely wrong? If so, what is the right way?

UPDATE - Tried copying the desktop files to the laptop. A combination of lack of sleep, XP to Windows 7 and bad juju made this a case of epic fail. To get things done quickly, I resorted to doing an XML export and reinstalling my theme on the laptop in order to do the demo.

share|improve this question
up vote 2 down vote accepted

From personal experience sync between two different computers work best in one direction. For example your desktop is primary and notebook is precise mirror (yep, of whole directory tree preferably with tool that doesn't touch unchanged files). Two way sync gets messy very fast for web stack.

If you need to actively work with same stack on different computers it is easier to keep portable stack on external media (like external hard drive or flash drive) and just plug it. Don't forget solid backup routine (which you should have in any case) or if external thingie dies - you lose whole stack.

PS another idea is to use something like Dropbox, but I hadn't tried that in practice yet.

share|improve this answer
Based on my recent experience, my next attempt will be the external hard drive/USB drive solution.---Thanks – Ray Mitchell Apr 13 '11 at 18:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.