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

Amy Troppe
Amy Troppe
2,177 Points

Editing a Wordpress site on a live server

I have watched a few of the Wordpress classes by Zac Gordon , and wanted to know more about what it means to work off of a live server. I usually develop sites locally and then push them to a server via github and heroku. Once the site is live, and I make edits, I don't push the changes to the live site until my edits are complete (so as not to "break" the site). The method that is often presented in the Wordpress classes is to install WP and then use an ftp client, which seems like it automatically pushes your edits to the live site every time you save a change. My question is, if using this method, how would you avoid breaking a site that is already in use, as you make changes to it?

2 Answers

Daniel Johnson
Daniel Johnson
104,132 Points

I work locally as well and test everything before pushing any changes to a live server. Making changes on a live server without testing them is a recipe for disaster.

He's probably just doing it that way for demonstration purposes. The way you're already doing it is the preferred method.

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

FTPing files up is an acceptable approach for beginners. The approach you take is the better approach.

We have a course coming called Modern WordPress Workflow that will get into Git and staging environments etc, which is a much better approach.

Most of our courses that use FTP are for launching a site not necessarily doing ongoing updates.

Daniel Johnson
Daniel Johnson
104,132 Points

I think you need to be more clear about it, especially at the beginner level.