Title: Index.html
Last modified: August 19, 2016

---

# Index.html

 *  Resolved [cubells](https://wordpress.org/support/users/cubells/)
 * (@cubells)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/)
 * Hi:
 * I have a index.html at my wordpress directory. This page is a frontpage that 
   redirects my visitors to my blog.
 * In wp versions lower than 2.7 my index.html and the wp index.php have lived together
   without any problem.
 * In wp 2.7 it’s a problem my index.html. I have had to delete it.
 * I have these options:
    wordpress address: [http://www.my-site.com](http://www.my-site.com)
   blog address: [http://www.my-site.com/index.php](http://www.my-site.com/index.php)
 * When I visit my-site.com I go to my-site.com/index.html. Correct!
 * But when I visit my-site.com/index.php I _always_ go to my-site.com/index.html.
   Incorrect!
 * Any solution?
 * A lot of thanks!

Viewing 15 replies - 1 through 15 (of 44 total)

1 [2](https://wordpress.org/support/topic/indexhtml/page/2/?output_format=md) [3](https://wordpress.org/support/topic/indexhtml/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/indexhtml/page/2/?output_format=md)

 *  [lizhard](https://wordpress.org/support/users/lizhard/)
 * (@lizhard)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-922759)
 * Same problem here.
 *  [kmnow2004](https://wordpress.org/support/users/kmnow2004/)
 * (@kmnow2004)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-922948)
 * same problem here, help me
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-922952)
 * You cannot have index.html and index.php in the same directory without having
   problems.
 * What is the url of your blog?
 * You have not deleted index.html – it is still functioning. You say . . .
 * > When I visit my-site.com I go to my-site.com/index.html.
 * so when you say . . .
 * > In wp 2.7 it’s a problem my index.html. I have had to delete it.
 * that is not correct.
 *  Thread Starter [cubells](https://wordpress.org/support/users/cubells/)
 * (@cubells)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-922956)
 * > You cannot have index.html and index.php in the same directory without having
   > problems.
 * I have no problem ever by having index.html and index.php in the same directory.
   It’s now with wordpress 2.7 when I have this ‘issue’.
 * > What is the url of your blog?
 * [http://www.vcubells.net](http://www.vcubells.net)
 * My blog adress is [http://www.vcubells.net/index.php](http://www.vcubells.net/index.php)
 * I have had to delete index.html page in order to browse to my blog…
 * Thanks!
 *  Thread Starter [cubells](https://wordpress.org/support/users/cubells/)
 * (@cubells)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-922962)
 * > I have had to delete index.html page in order to browse to my blog…
 * I have to delete index.html page if I want to browse to my blog.
 * Now, I upload again my index.html so that you try it.
 * It’s a better explanation…
 * thanks!
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-922976)
 * Open the .htaccess file from your root web folder in a text editor. At the top
   of the file, add:
    DirectoryIndex home.php index.php Save and upload the modified.
   htaccess file. (for Apache server)
 * [http://codex.wordpress.org/Creating_a_Static_Front_Page](http://codex.wordpress.org/Creating_a_Static_Front_Page)
 *  Thread Starter [cubells](https://wordpress.org/support/users/cubells/)
 * (@cubells)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-922979)
 * Thanks kmessinger:
 * That’s the first thing I had tried and it’s not a solution.
 * By doing that I cannot browse to my index.html page.
 * What have it changed from 2.7 version to previous that I don’t be able to have
   an index.php and an index.html page in the same root directory of my blog??
 * Thanks!
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-923004)
 * AFAIK, nothing. The decision as to which index file to bring up is done by the
   server. That why is is much easier not to have multiple index files in one directory.
   But, the order of which file opens can be controlled by the server or by your
   htaccess.
 * Maybe something on the server changed. Have you asked the server people? Is this
   an Apache or Windows server?
 *  Thread Starter [cubells](https://wordpress.org/support/users/cubells/)
 * (@cubells)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-923021)
 * > Maybe something on the server changed. Have you asked the server people?
 * Yes. Nothing has changed on the server.
 * > Is this an Apache or Windows server?
 * Apache, of course.
 * It’s a problem of the wordpress: index.php redirects visitor to index.html always,
   when you go to [http://www.vcubells.net](http://www.vcubells.net) and when you
   go to [http://www.vcubells.net/index.php](http://www.vcubells.net/index.php).
 * If I add “DirectoryIndex home.php index.php” in .htaccess then index.html desappear.
 * This issue didn’t exist in wordpress version lower than 2.7.
 * Thanks!
 *  [lizhard](https://wordpress.org/support/users/lizhard/)
 * (@lizhard)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-923028)
 * kmessinger if you don’t know the solution please don’t post.
    It’s not a server
   related problem, it’s a WordPress 2.7 redirect issue.
 * Thanks
 *  Thread Starter [cubells](https://wordpress.org/support/users/cubells/)
 * (@cubells)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-923032)
 * More people have the same problem 🙁
 * [http://wordpress.org/support/topic/224398](http://wordpress.org/support/topic/224398)
 *  [mnr](https://wordpress.org/support/users/mnr/)
 * (@mnr)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-923033)
 * Had the same problem.
    I had a redirect in my .htaccess from index.html to index.
   php I just had to remove it, that’s all.
 *  Thread Starter [cubells](https://wordpress.org/support/users/cubells/)
 * (@cubells)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-923040)
 * Hi mnr:
 * I don’t have any redirect in my .htaccess.
 * Even if I delete my .htaccess on the server, when I browse to [http://www.vcubells.net/index.php](http://www.vcubells.net/index.php),
   then wordpress redirects me to index.html.
 * Try it: [http://www.vcubells.net/index.php](http://www.vcubells.net/index.php)
   
   Now I don’t have any .htaccess and wordpress redirects me.
 * I think your problem not is my problem.
 * Paste your .htaccess if you think still that it is the same.
 * Thanks!
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-923045)
 * **LiZharD**
 * > kmessinger if you don’t know the solution please don’t post.
   >  It’s not a server
   > related problem, it’s a WordPress 2.7 redirect issue.
 * Thanks
 * I appreciate your comment and will cheerfully ignore it.
 * Regards.
 *  [Roni Laukkarinen](https://wordpress.org/support/users/rolle/)
 * (@rolle)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/indexhtml/#post-923047)
 * Sorry, didn’t find this post in time, but I have the same problem also posted
   here: [http://wordpress.org/support/topic/224398](http://wordpress.org/support/topic/224398)
 * I heard there is no solution yet. Keep me posted.
 * Rolle.

Viewing 15 replies - 1 through 15 (of 44 total)

1 [2](https://wordpress.org/support/topic/indexhtml/page/2/?output_format=md) [3](https://wordpress.org/support/topic/indexhtml/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/indexhtml/page/2/?output_format=md)

The topic ‘Index.html’ is closed to new replies.

## Tags

 * [index.html](https://wordpress.org/support/topic-tag/index-html/)
 * [index.php](https://wordpress.org/support/topic-tag/index-php/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)
 * [urls](https://wordpress.org/support/topic-tag/urls/)
 * [wp 2.7](https://wordpress.org/support/topic-tag/wp-2-7/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 44 replies
 * 23 participants
 * Last reply from: [Masselyn](https://wordpress.org/support/users/masselyn/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/indexhtml/page/3/#post-923316)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
