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 Installing WordPress Locally

Daniel Oropeza
Daniel Oropeza
4,432 Points

Do I have to run this install of wordpress for each of my local sites?

For example, say I have run the install for localwp.com

I have three more domains running wordpress that I want to customize locally. examplesite1.com examplesite2.com examplesite3.com

they are all under my htdocs folder.

Will I have to install worpress for each site or can I just copy and paste the contents of localwp.com to the other domains?

1 Answer

Kevin Korte
Kevin Korte
28,149 Points

You'll have to install it each time. Each install would need it's own wp-config file, it's own database, it's own user login credentials. The core wp files could be more or less copied over short of the wp-config file would need updated.

If you research, multi-site allows you to run multiple sites from one set up, but I wouldn't do it here. It's not the intention of a multi-site. What you are describing is 3 unique and separate sites, and I would keep it as such.

Daniel Oropeza
Daniel Oropeza
4,432 Points

Thanks Kevin I'll definitely look into running a multi-site in the future. Thanks for the fast response.