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 How to Make a Website Adding Pages to a Website Add a New Page

Eric Moen
PLUS
Eric Moen
Courses Plus Student 2,348 Points

now when I'm on the About page and click Portfolio, I get The requested URL /index.html was not found on this server

I've created both the Portfolio and About pages. But now when I"m on the About page and click to Portfolio I get this Error - Not Found

The requested URL /index.html was not found on this server.

Also, when I click the "eye" icon to view the site I've created I get this and must clink a link to take me to the site.

Index of /

Index.html about.html css/ img/

Can someone please help me understand what I may have done?

2 Answers

Zachary Kaufman
Zachary Kaufman
1,463 Points

Haha I make mistakes like that ALL the time. Glad you found the problem, have a great day.

Zachary Kaufman
Zachary Kaufman
1,463 Points

It is going to be a problem with the order of your files most likely. Is your main page, which is not within any folder, called "index.html" ?

Eric Moen
Eric Moen
Courses Plus Student 2,348 Points

I actually just figured it out. I had "Index.html" capitalized in the folder name and didn't notice it until I scoured my page to see where the error was. This stuff is crazy, I love it!