Title: Home.php vs Index.php
Last modified: August 19, 2016

---

# Home.php vs Index.php

 *  [satmandue](https://wordpress.org/support/users/satmandue/)
 * (@satmandue)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/homephp-vs-indexphp/)
 * Hello folks,
 *  This question is from a noob to tenth power! I created a php file called home.
   php, and discovered my front page is running off of that home.php file. It doesn’t
   care about the index.php.
 * Why is that? And is home.php a legitimate thing to create in WordPress?

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

 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/homephp-vs-indexphp/#post-882813)
 * Yes, `home.php` is create by some for a customized home page display. Per template
   hierarchy `home.php` has precedence over `index.php` et. al to display home page
   
   [http://codex.wordpress.org/Image:Template_Hierarchy.png](http://codex.wordpress.org/Image:Template_Hierarchy.png)
   So if you did not mean to create a home.php, change the name of the file to something
   else.
 *  Thread Starter [satmandue](https://wordpress.org/support/users/satmandue/)
 * (@satmandue)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/homephp-vs-indexphp/#post-882900)
 * Oh, I meant it mercime, and **thanks again** for your help along the journey.
 * Now, what I’ve done is create an about.php, which doesn’t seem to work. Loads
   me the footer.php and header.php but nothing as far as the content which I’ve
   pasted in XHTML format inside the about.php page. In my about.php page, I’ve 
   also summoned the header and footer, but there’s no loop included. Would this
   explain the strange occurrence?
 * Adding to the above, when I create this home.php file, and about.php file on 
   my ftp client editor, I’m pasting from an original html file, yet when I go in
   the dashboard to manage my pages they (home & about) don’t appear. Do I have 
   to create those pages inside the dashboard in order to make them appear, as well
   as edit them? Should I copy and paste my original xhtml into the dashboard editor
   and create an about page?
 * Well, phew! Thanks for sticking with me! Any help would be wonderful!
 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/homephp-vs-indexphp/#post-882973)
 * I’d create a page template e.g. `about.php` by opening up `page.php` in notepad
   or bbedit and saving `page.php` as `about.php`. Open `about.php` and add template
   code [seen here](http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates)
   and customize content in `about.php` then upload to theme folder. Go to Admin
   > Write Page and go below and choose from dropdown of Page Template then click
   on Publish.
 * For `home.php` I open up `index.php` and save as `home.php` which I customize
   accordingly and FTP upload to theme folder. Do not add the template code here.

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

The topic ‘Home.php vs Index.php’ is closed to new replies.

## Tags

 * [home.php](https://wordpress.org/support/topic-tag/home-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [@mercime](https://wordpress.org/support/users/mercime/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/homephp-vs-indexphp/#post-882973)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
