Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.