Title: Difference between home.php and front-page.php
Last modified: August 19, 2016

---

# Difference between home.php and front-page.php

 *  Resolved [starcoder](https://wordpress.org/support/users/starcoder/)
 * (@starcoder)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/difference-between-homephp-and-front-pagephp/)
 * Hello *,
 * can someone please explain the difference between **home.php** and **front-page.
   php** when used in Templates? i couldn’t find detailed information on that.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/difference-between-homephp-and-front-pagephp/#post-1665203)
 * home.php is a reserved file name on some servers and may be loaded in preference
   to index.php. front-page.php sounds like a generic custom page template.
 * Personally I’d suggest avoiding home.php as a template filename. It may cause
   problems at some point.
 *  Thread Starter [starcoder](https://wordpress.org/support/users/starcoder/)
 * (@starcoder)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/difference-between-homephp-and-front-pagephp/#post-1665354)
 * No, it’s not a generic custom page template. **front-page.php** is a new Template
   File in WordPress 3.0+.
 * I am sure that the wordpress developers think something with these two template
   files. But what? Thats the question.
 *  [wphelpcenter](https://wordpress.org/support/users/wphelpcenter/)
 * (@wphelpcenter)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/difference-between-homephp-and-front-pagephp/#post-1665358)
 * home.php is applied on the main blog-post listing. If you use Settings -> Reading
   to change where blog posts are displayed by default, this template file is different
   then front-page.php.
 * front-page.php could also display the latest posts on your homepage, but if you’ve
   altered the settings so that a Static Page is your homepage then this file would
   be used to display that (assuming you haven’t given that page a specific page
   template file to use).
 * There is a good bit of information about Template Hierarchy here — [http://codex.wordpress.org/Template_Hierarchy](http://codex.wordpress.org/Template_Hierarchy)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Difference between home.php and front-page.php’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [wphelpcenter](https://wordpress.org/support/users/wphelpcenter/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/difference-between-homephp-and-front-pagephp/#post-1665358)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
