Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Jesse Brownstein
Jesse Brownstein
5,111 Points

Optimal WordPress Development Workflow

What is the optimal WP dev workflow? Is it best to dev locally then upload local work to a remote dev site on a sub-domain such as dev.yourdomain.com, then publish to root domain such as yourdomain.com? If so, what is the best way to accomplish transferring all files and database setup across servers and sub/domains? Any advice is greatly appreciated. Thanks in advance!

1 Answer

Luke Travis
Luke Travis
2,887 Points

My preference is developing on a local server, as it gives me access to the files straight from my finder, and when I'm finally satisfied, they can easily be uploaded using ftp. Developing on my own server also means I don't have to be online to access my files, and to the best of my knowledge, you would have to have internet access to your host to be able to edit files stored on a sub-domain.