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!
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 trial

John Deininger
3,958 Pointsindex.html isn't linked as my website's homepage.
Hi, I know there is a lesson on what to do when this happens but I can't find it to reference it. If anyone knows which lesson it is or wants to just explain it to me here I would be greatful. Thanks
4 Answers

John Deininger
3,958 Pointsmy idex.html file does not have permission to act as the home page so it brings me to the index which has links to the files. I am wondering how I would correct that so when I view the website I am building in the browser it goes straight to the homepage. When you use treehouse's workspace this is done automatically unless you delete the initial index.html file.

Timmy Showler
Courses Plus Student 867 PointsChange it to .php extension then change it back to .html!
I've had this problem months ago when I was web developing. May or may not work for you though.

Shawn Wilson
iOS Development Techdegree Student 7,049 PointsI found this problem when I delployed my site to the web as well. I changed the file to .php then back to .html immediately and it seemed to solve the problem. Also check the extension may just be mistyped. I've seen that frequently as well.. Fat finger syndrome.

Timmy Showler
Courses Plus Student 867 PointsIf you do change it to .php extension, don't refresh the page. Cause it will be all messed up haha.
Samuel Webb
25,370 PointsSamuel Webb
25,370 PointsPlease explain further and in more depth. I don't completely understand the question. I'm thinking of about 3 different things you might mean by this.