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 trial

HTML

John Deininger
John Deininger
3,958 Points

index.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

Samuel Webb
Samuel Webb
25,370 Points

Please 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.

4 Answers

John Deininger
John Deininger
3,958 Points

my 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.

Change 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
seal-mask
.a{fill-rule:evenodd;}techdegree
Shawn Wilson
iOS Development Techdegree Student 7,049 Points

I 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.

If you do change it to .php extension, don't refresh the page. Cause it will be all messed up haha.