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

Development Tools

Is it possible to hand-code a website (well, ok, Bootstrap it) but have part of it Wordpress?

So, Bootstrap a site, but have, say, the 'Journal' page of the site a Wordpress blog page that the client can just update with their latest news etc?

1 Answer

Shawn Flanigan
Shawn Flanigan
Courses Plus Student 15,815 Points

Absolutely. This is actually how most people used WordPress up until a few years ago, before it became popular as a full-blown CMS. Just set up a sub-directory (i.e. http://example.com/blog) and do your WordPress install there instead of in your main directory.

Don't stress too much about the name of the directory, as you can easily change the settings. In the WordPress settings, you can edit the WordPress address (the directory where you put the WordPress files) and the Site Address (the URL you want pointed to this WordPress install). So...even if you upload the files to http://example.com/wordpress, you can direct people there from http://example.com/blog without having to move the files around.

You might run into some conflicts with your root .htaccess file, but if you're hand-coding everything this shouldn't be a problem.