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

Sarah Kostin
Sarah Kostin
353 Points

Will the 5 minute install overwrite the quick installs from previous websites?

So I've built a few WP sites just using the Quick Install method. I am now planning on learning the 5 minute method. I downloaded Wordpress 4.1.1 and was about to upload it into my Filezilla server, when I noticed all of the other WP files already in my public.html folder. I suddenly got nervous that uploading WP this way would effect my previous sites and all of the WP files already installed there. I don't want to mess with any of my current sites which are running smoothly. Any guidance is much appreciated. Thanks!

1 Answer

Kevin Korte
Kevin Korte
28,149 Points

Yes it would, because in the core of WP, there is a file you must create from the wp-config-sample.php file and name it wp-config.php. In that file, you tell wordpress the database name to use, the database user name and password, and such. There are a few other steps like salting the keys (you'll learn about it) and possibly prefixing all tables for added security.

Uploading a fresh copy to your server would of course override that. You would likely also override your images folder, themes, and plugins. Your data would still be in the database, however.

If you're not willing to start over, don't try to reinstall WP on your server without making a full back up, and even than I wouldn't take the risk.

If you want to learn the manual 5 minute install, and I suggest you do, than it would be safest to install wordpress locally on your computer. You'll have the same experience, take the same steps, but if you mess up, you can easily delete the local site and database, and start all over again.

Sarah Kostin
Sarah Kostin
353 Points

Phew! I'm glad I asked. Thanks so much, Kevin, for your speedy and thorough response. I'm not sure I know how to play with WP locally, but I'm sure there's a treehouse video around here that explains it.

Kevin Korte
Kevin Korte
28,149 Points

Yes there is! I'd highly recommend. You only have to really set it up once. Than you can install as many local sites as you want. I probably have 10-15 separate functioning local wordpress sites on my computer.

http://teamtreehouse.com/library/local-wordpress-development