Title: index.php vs. index.html
Last modified: August 19, 2016

---

# index.php vs. index.html

 *  Resolved [tura910](https://wordpress.org/support/users/tura910/)
 * (@tura910)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/indexphp-vs-indexhtml-1/)
 * I am sure there is a very simple answer to this question. If I type cockydeals.
   com/index.php the page loads fine. But if I type just cockydeals.com it opens
   a blank page? I cannot find the answer anywhere so I assume it is something so
   incredibly simple that everyone else already knows. Help?

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/indexphp-vs-indexhtml-1/#post-1109819)
 * If you have an index.html file, delete it, or rename it.
 *  Thread Starter [tura910](https://wordpress.org/support/users/tura910/)
 * (@tura910)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/indexphp-vs-indexhtml-1/#post-1109820)
 * I deleted it. No change. I read online that I need to put this in my .htaccess
   file.
 * RewriteEngine on
    RewriteRule index\.html index.php [NC,R]
 * I have GoDaddy hosting. The file is not in my Root folder. So do I have to create
   a new one? What does it look like?
 *  [the-debil](https://wordpress.org/support/users/the-debil/)
 * (@the-debil)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/indexphp-vs-indexhtml-1/#post-1109821)
 * If you have php installed on your server, you shouldn’t need a .htaccess file.
 * Rename the .htaccess file to something like: xxx.htaccess – see what happens 
   then, you haven’t lost it then – its still safe.
 * Be careful about changing the content of your .htaccess file unless you know 
   what you are doing – what I can tell you is some .htaccess configs interfere 
   with php files.
 *  Thread Starter [tura910](https://wordpress.org/support/users/tura910/)
 * (@tura910)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/indexphp-vs-indexhtml-1/#post-1109825)
 * Well, I just plain didn’t have a .htaccess file at all. I found online what to
   put in one. Here’s what I got:
 * AddHandler server-parsed .php
    AddHandler server-parsed .php4
 * # -FrontPage-
 * IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*
 * <Limit GET POST>
    order deny,allow deny from all allow from all </Limit> <Limit
   PUT DELETE> order deny,allow deny from all </Limit> AuthName [http://www.example.com.au](http://www.example.com.au)
   AuthUserFile /var/chroot/home/content/f/r/e/frenzix1/html/_vti_pvt/servic e.pwd
   AuthGroupFile /var/chroot/home/content/f/r/e/frenzix1/html/_vti_pvt/servic e.
   grp l>
 * I made that file, uploaded it, and now the site actually works! I just hope there
   is nothing in there that is going to mess up anything else. 😛
 *  Thread Starter [tura910](https://wordpress.org/support/users/tura910/)
 * (@tura910)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/indexphp-vs-indexhtml-1/#post-1109826)
 * Oh.. now that I’m looking.. some of that is definitely wrong.. heh
 *  Thread Starter [tura910](https://wordpress.org/support/users/tura910/)
 * (@tura910)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/indexphp-vs-indexhtml-1/#post-1109830)
 * Okay, I just took this junk out and it still works good.
    AuthName [http://www.example.com.au](http://www.example.com.au)
   AuthUserFile /var/chroot/home/content/f/r/e/frenzix1/html/_vti_pvt/servic e.pwd
   AuthGroupFile /var/chroot/home/content/f/r/e/frenzix1/html/_vti_pvt/servic e.
   grp l>
 * All better. 🙂

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

The topic ‘index.php vs. index.html’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 6 replies
 * 3 participants
 * Last reply from: [tura910](https://wordpress.org/support/users/tura910/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/indexphp-vs-indexhtml-1/#post-1109830)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
