Title: index.php / home.php
Last modified: August 19, 2016

---

# index.php / home.php

 *  [perad](https://wordpress.org/support/users/perad/)
 * (@perad)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/indexphp-homephp/)
 * I have home.php as well as index.php.
 * The problem is that the domain is defaulting to home.php.
 * Is there any way I can view index.php through a link? I have tried {siteroot}
   index.php but this only redirects me to home.php.
 * Failing this is there anyway to search for the last 5 blog entries?

Viewing 1 replies (of 1 total)

 *  [Fahid](https://wordpress.org/support/users/fahid/)
 * (@fahid)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/indexphp-homephp/#post-741977)
 * I think as long as you have a HOME.PHP file, your home page will always be displayed
   through HOME.PHP.
 * So a simple way to get your job done is to remove or rename the HOME.PHP in your
   current theme directory, which may be found at: **WORDPRESS_PATH\wp-content\themes\
   CURRENT_THEME\**
 * when you have no HOME.PHP, wordpress uses the INDEX.PHP to show your home page.
 * So give it a try…

Viewing 1 replies (of 1 total)

The topic ‘index.php / home.php’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Fahid](https://wordpress.org/support/users/fahid/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/indexphp-homephp/#post-741977)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
