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

Nicholas Olsen
seal-mask
.a{fill-rule:evenodd;}techdegree
Nicholas Olsen
Front End Web Development Techdegree Student 19,342 Points

Can I safely copy the wp-content folder from one WordPres installation to another?

I'm working with a "customized" installation of WordPress. The website as it is was created by a branding agency who told us not update WordPress because doing so would wipe out the changes they made to the underlying core. (!!!)

Well, we're not working with them anymore and I have a local and staging copy of the website to work with. What I'd like to do is start with brand new installation of WordPress and copy the wp-content folder from the old installation to the new one (with a copy of the database of course). Is there anything about this that wouldn't work?

1 Answer

Theoretically, you should be good to go. All of your content (should) live in the database. wp-content/ will house your theme files, plugins, and uploads. The database creates the relationship between your physical files and the content on your site.

Don't be afraid to experiment though! As long as you don't delete your old site until you're 100% confident, you have nothing to lose by trying things out!