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 HTML Basics Images, Text and Links Understanding File Paths

The filepath is not working at all for me. Always a 404 page.

When I put in the file path <a href="articles/2020/article.html">Read More</a> it doesn't work. My folder path is: root/articles/2020/article.html so I really don't understand. I'm always getting a 404 error.

Shawn Brandow what folder is the file that you are you writing your code in?

2 Answers

Chris Komaroff
PLUS
Chris Komaroff
Courses Plus Student 13,672 Points

You probably need to enter enter the complete url "root/articles/2020/article.html". Or whatever the full URL is for this page.

I figured it out, thanks for your help!