Website directs to index of

May 2, 2011 at 20:25:07
Specs: Windows 7
My website directs to index of instead of running the index.html file. In the index of page I can see my index.html file and access it fine but I need the site to instantly access the index.html homepage. I used to be able to access my site but since installing and uninstalling wordpress I have had this issue. I am not sure if I accidentally deleted a wrong file. Any help would be much appreciated. Thanks

See More: Website directs to index of

Report •


#1
May 5, 2011 at 14:52:11
What's the URL of your website? The server has a list of files that set the order of priorities to index pages. For example, index.htm, index.html, index.php, default.html, etc. Installing and later removing WordPress won't affect this priorities list, so I'm curious to see your directory and look for a problem.

This article won't solve your problem, but it's a good idea to hide directory indexes from people looking for security vulnerabilities. After your problem is solved, hide directory indexes:
http://www.computertechtips.net/52/...

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

#2
May 5, 2011 at 19:52:37
Yeah the URL is http://barebonesfleshcrave.com/ thanks for your help!

Report •

#3
May 6, 2011 at 17:26:10
In your .htaccess file, insert the following line:
DirectoryIndex index.html index.htm index.php

To create an Apache HyperText Access file, open a text document, set the file name as

.htaccess
and set the file type to All. Then put it in your site's root directory, just like you put the Index.html and portfolio.swf files.

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

Related Solutions

#4
May 6, 2011 at 23:16:22
I've tried changing the htaccess file with what you suggested and I still get the same problem. Thanks for the response though it's very much appreciated. :)

Report •

#5
May 7, 2011 at 19:14:15
At this point, I would contact the web host for assistance.

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

#6
May 8, 2011 at 20:17:12
Thanks for all your help xps86. I've finally figured it out it was actually something really simple. The problem was that my index.html had a capital I so it was "Index.html" instead of being "index.html". I'll try remember to look for the obvious next time sorry for troubling you but thanks again.

Report •

#7
May 9, 2011 at 10:33:26
I'm a bit embarrassed I didn't realize that. My mistake, but glad you were able to figure it out.
P.S. I love that picture presently on your homepage.

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •


Ask Question