Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrendan Wales
428 Points"Index of" page
Hi all, it looks like i have been able to connect my ftp account correctly, but when I type in my url, I am getting an "index of" page. I then can click on my file which directs me to the place I wanted it to go. I may have messed up my files.
Any easy way to fix this?
2 Answers
Andrew Whitfield
5,239 PointsNormally, your uploaded file must have the name of default.html, index.html, index.htm or index.php, index.asp, etc. The server will often go through a sequence of files until it matches a default one. If it can't find one, then it will show an Index of (this folder) so you can select one.
What is your file called?
Eddie Nunez
1,333 PointsI would double-check the name of your "index.html" file in the directory. You could of saved it as "Index.html" with a capital "I". This must be lower case or it won't know where to go. Hope that helps.
Carlos Igreja
2,828 PointsCarlos Igreja
2,828 PointsI noticed the same problem. I accidentally put my index.html, in my img folder. It should not be in a folder. If it is, then you can just click it and drag it out. Maybe you can check that ? Hope this helps.