Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Adding Pages to a Website Add a New Page

unable to link files

I follow along as per video I create a new file 'about.html' save then refresh browser and click on the link 'about' but then I get this error:

Not Found

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

2 Answers

Marielle Quizon
Marielle Quizon
2,830 Points

Try putting your "about.html" in your <a></a> tags.

For example:

<a href = "about.html">About</a>

Godfrey M
PLUS
Godfrey M
Courses Plus Student 2,696 Points

hi mr. james i suggest you to check properly your file-paths because this is important when linking files in different locations . a deep understanding of file-paths( relative and absolute) will help you attach files at any point.

another idea is sharing your code practice on community we can go through the code and correct you fast so your fellow students will know where you went wrong.

to share you code press the three --- before the code and again ---after your code happy coding bro