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

General Discussion

Caleb Walker
Caleb Walker
6,900 Points

Best way to include an existing WP.com blog in new site built from scratch

If I'm re-building a site from the ground up, and the client already has a wordpress.com blog with many posts, what is the best way to include that in the site. I would like to have it appear to be hosted right on the site, integrated seamlessly. Thank you for your thoughts.

2 Answers

Hey Caleb,

The best option would probably be to export the WordPress.com blog to a WordPress.org installation and integrate it into the rest of the site (http://en.support.wordpress.com/moving-a-blog/ and http://codex.wordpress.org/Integrating_WordPress_with_Your_Website). You can have the blog portion of the site based on WordPress, and the rest of the site can be built around whatever you like.

You could also build the entire site with WordPress, depending on the client's needs.

Caleb Walker
Caleb Walker
6,900 Points

Thank you, Micah! That certainly helps. I'd like to write the whole site, mainly for experience, even though I'm more familiar with building entire WP sites. I'l have to dig a little deeper until I get to PHP here on Treehouse.

If you don't mind, would the subdirectory 'blog' (as used in the WP Codex tutorial) consist only of one PHP and one HTML file?

Thank you again for your response. (I apologize for my ignorance.)