Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Local WordPress Development

Timothy Rogers
PLUS
Timothy Rogers
Courses Plus Student 8,703 Points

Installed WP on a hosting server first.

I already have a hosted domain name with WP installed (very bare bones but with activated premium theme) and have done my limited development online. Is it possible to follow steps to develop WP locally and upload files to this existing site? Or, do I have to start from scratch? Eg. Do I need to delete my online site and then follow steps in videos for installing locally and on a remote server? Seems it will get kind of hairy uploading to existing data bases, etc. Thank You.

5 Answers

jason chan
jason chan
31,009 Points

I would do it locally because local is like a sandbox where you can experiment. on the web is production.

Timothy Rogers
Timothy Rogers
Courses Plus Student 8,703 Points

I LOVE the idea of working on my local server. Wish I had known this option in the beginning. My internet is satellite provided and has a very restrictive data usage quota, so off line work would be great. I am just wondering if I can set up my local server/wordpress files now after I first set everything up on my host server (which is in the opposite order of steps in the videos)?

jason chan
jason chan
31,009 Points

it's up to you. doesn't matter.

Timothy Rogers
Timothy Rogers
Courses Plus Student 8,703 Points

I don't think I have anything to lose trying. I guess I take existing files from my hosting account and simply copy them into appropriate folders on my locally installed version of WP.

jason chan
jason chan
31,009 Points

It will be good practice for you for example moving webhosts. So yeah. Do it like a few times. You also never know if your going to have clients or friends who request a host change. So yeah. Do it.

Timothy Rogers
Timothy Rogers
Courses Plus Student 8,703 Points

Great point! I appreciate your thoughts. Am going to try it now.

Yixi Guan
Yixi Guan
7,927 Points

Just keep this in mind, if you want to move site from local server to a host. It's not just upload some files. You need to export the database and import them. It can be a little complicated, but worth learning.

Timothy Rogers
Timothy Rogers
Courses Plus Student 8,703 Points

That is my concern. The videos are great for moving and manipulating files/databases FROM local server to hosted account, but its the OTHER direction I am concerned about.

jason chan
jason chan
31,009 Points

with phpadmin is pretty easy. Plus I finished chalkleys tutorial. So i'm pretty confident now. The hard part now is probably relationships and making huge spiderweb tables structures with foreign and primary keys.