Title: Index.php page gone?
Last modified: August 18, 2016

---

# Index.php page gone?

 *  [cottonmoon](https://wordpress.org/support/users/cottonmoon/)
 * (@cottonmoon)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/indexphp-page-gone/)
 * I did something to the index.php that lives in the main site directory I copied
   the template index.php into it and overwrite it without realising that that index.
   php was the
    <?php /* Short and sweet */ define(‘WP_USE_THEMES’, true); require(‘./
   wp-blog-header.php’); ?>
 * but I replaced it with the original index.php file but my site’s coming up as
   blank?
 * [http://elmiee.tingilye.net/index.php](http://elmiee.tingilye.net/index.php)

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

 *  Thread Starter [cottonmoon](https://wordpress.org/support/users/cottonmoon/)
 * (@cottonmoon)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/indexphp-page-gone/#post-340864)
 * It’s working now, but the index.php isn’t showing how it’s meant to, it’s meant
   to have a divider inbetween the post’s like on the about page, but it’s written
   on [http://elmiee.tingilye.net/wp-content/themes/Elmiee%20Blog/index.php](http://elmiee.tingilye.net/wp-content/themes/Elmiee%20Blog/index.php)
   
   but that’s coming up with a error and I don’t know how ti fix it?
 *  Thread Starter [cottonmoon](https://wordpress.org/support/users/cottonmoon/)
 * (@cottonmoon)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/indexphp-page-gone/#post-340868)
 * anyone help? I don’t know what to do or where to look
 * also when you go from index.php to about.php the layout shifts around and doesn’t
   stay in the centre, how would I fix this? This is how wordpress seemed to have
   gone wrong, me trying to make my layout stop jumping =/
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/indexphp-page-gone/#post-340870)
 * You should never try to use URIs like this:
    [http://elmiee.tingilye.net/wp-content/themes/Elmiee%20Blog/index.php](http://elmiee.tingilye.net/wp-content/themes/Elmiee%20Blog/index.php)
 * If you want to post the code, use phps or txt files.
    Or use [http://pastebin.com](http://pastebin.com)
 * Maybe the code for displaying the divider is not correct (I can’t see it in the
   source code).
 *  Thread Starter [cottonmoon](https://wordpress.org/support/users/cottonmoon/)
 * (@cottonmoon)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/indexphp-page-gone/#post-340876)
 * [code moderated - read the previous post]
 * That's the index page that's in the template folder, as you can see the divider/
   is/ there but it's just not showing up, and the code is right for it because 
   it was working before
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/indexphp-page-gone/#post-340877)
 * No long code here, read my previous post, please!

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

The topic ‘Index.php page gone?’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/indexphp-page-gone/#post-340877)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
