Title: INDEX HELP!
Last modified: August 19, 2016

---

# INDEX HELP!

 *  [brunaxblah](https://wordpress.org/support/users/brunaxblah/)
 * (@brunaxblah)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/index-help/)
 * I accidentally deleted the text in the index file and now the changes are saved,
   and nothing is showing up! where can i get the index code back? or can someone
   send me theirs, to put onto mine?

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

 *  [Ryan S](https://wordpress.org/support/users/ryan_accuwebhosting/)
 * (@ryan_accuwebhosting)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/index-help/#post-1100042)
 * which index file did you delete? WordPress displays index file of the current
   active theme. You can get it back by downloading the theme again.
 * If you deleted any file other than the theme, you can check for the file from
   wordpress installation:
 * [http://wordpress.org/download/](http://wordpress.org/download/)
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/index-help/#post-1100052)
 * If you mean the one in your installation directory, you can just download WordPress.
   zip file again and replace it with the one from there. If you mean the index.
   php located in your theme file, I recommend you restore it from the original 
   or a backup copy of the theme. (although I’m guessing by your request that you
   have no backup files). Or, completely clear the contents of the index.php file
   and paste this back into it.
 *     ```
       <?php
       /**
        * Front to the WordPress application. This file doesn't do anything, but loads
        * wp-blog-header.php which does and tells WordPress to load the theme.
        *
        * @package WordPress
        */
   
       /**
        * Tells WordPress to load the WordPress theme and output it.
        *
        * @var bool
        */
       define('WP_USE_THEMES', true);
   
       /** Loads the WordPress Environment and Template */
       require('./wp-blog-header.php');
       ?>
       ```
   
 * Leave no spaces at the top of the page. And start doing some reading on how to
   backup your site.
 * I will assume two things. One, you are using WordPress 2.7.1. Two, you mean the
   index.php located in your WordPress directory. Make changes at your own risk.

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

The topic ‘INDEX HELP!’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [deleted](https://wordpress.org/support/topic-tag/deleted/)
 * [index](https://wordpress.org/support/topic-tag/index/)
 * [nothing](https://wordpress.org/support/topic-tag/nothing/)
 * [showing](https://wordpress.org/support/topic-tag/showing/)
 * [up](https://wordpress.org/support/topic-tag/up/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/index-help/#post-1100052)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
