WordPress: Independent Homepage/Separate Home & Posts Page

I wanted to create a custom home/index (non-template) page for WordPress while having it serve other pages under the root directory. To my knowledge, this is not well documented and Google search results are of solutions that are rather “hacked” and require more work than required. There are two main steps to get this working.

1. Create 2 blank pages: home and blog. In wp-admin/settings/reading, set the “front page displays” like this.

2. Go to the folder of your theme and add the custom homepage file named front-page.php. This depends on the theme being used. For mine, it is located in /wp-content/themes/twentyten/front-page.php.

Once done, the home page should render the front-page.php without any templates and the blog at the registered permalink with the template/theme chosen.

This entry was posted in blog, wordpress. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *