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

Matt Bryant
Matt Bryant
10,164 Points

In the future, will I need a completely separate install of WordPress for each project in my local sites folder?

I am wondering if I will need to install a separate download of WordPress into each subsequent project that I create going forward (each with its own database). If I am able to use one 'master' local WordPress installation somehow, then how do you keep all of the files that are unique to each project separate?

1 Answer

Kevin Korte
Kevin Korte
28,149 Points

That's what I've done in the past. For each new project, I just created a new folder, and installed wordpress in that folder, and with it's own database, it kept things really neat and clean. And if I needed on project, using one plugin that needed an older version of WP, that one project could run on the older version without affecting the others.

However, you can use one installation of WP to manage multiple sites, that's baked right in. Here is the documentation tat walks you through how to do that if you would like to try it out: https://codex.wordpress.org/Create_A_Network

It can't hurt to give it a shot and see if you prefer that.