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 trialJonathan Torres
315 Points404 Error on Contact Page
When I copy over the html from about to the newly formed contact page I get a '404 Not Found' error. No changes were made, just copy and paste. Help?
4 Answers
Lise Bendixen
1,520 PointsI have the same problem - tried to copy-passte, check ofr spelling errors - but so fra no succes.
Yeeka Yau
7,410 PointsI made the same mistake as Luis described, and when I adjusted and saved my work - the issue persisted. But I noticed in the address panel of the browser when I previewed my site that it still had the old .html name. I changed it in the address bar and it worked fine. It does seem like a caching issue.
reginami5
2,633 PointsThis was exactly the problem I was having - 404 page even after I corrected issue (changing name from Contact.html to contact.html on the contact page) and sure enough when I changed the old .html name in the address panel of the browser, it worked.
Refiz Duro
4,239 PointsYou maybe have an error in the link to the "Contact" page. With this, I mean in your index.html and about.html files (and also in the contact.html file). Make sure that it looks like this:
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
Also, depending on which file/page you want to view, you should have class="selected" added. (but this should not be related to your issue).
Luís Rafael Coelho
430 PointsProbably your mistake was the same that I had. When you create a new file you need to give the same name. Like I wrote "contactS" when I was writing the html code, but my new .html file was "contact", after I add the "S" it worked again ;)
Anna Kozlova
4,372 PointsI have the same problem. I'm using correct name of contact page, list items are fine. I've tried different variants, but still it gives me the error. Can't figure out what is the problem here.