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

Preben Finnøy Olafsen
3,459 Points.html on end of my url. Help?
For example... Xxx.info.html
It only appears after you have entered the website and pressed a link or similar. Then it comes back as "xxx.info/me.html" instead of just "Info/me"
2 Answers

Austin Whipple
29,847 PointsTo clarify on the answer given above, what you're seeing is quite normal, but understandably not ideal by modern web standards.
To remedy the problem, you have to change the file structure of your website to include subdirectories for all the pages you'd like to have. Within each subdirectory is a file named index.html that contains the HTML code of the page as you'd like it rendered.
So, if you'd like www,exampledomain.com/about/, you create a directory in your site's root directory (often public_html) named "about". Within that new directory, create a file called "index.html". Now, when you want to link to that HTML file, you use the URL to the directory: www.exampledomain.com/about/.

Gunhoo Yoon
5,027 PointsYou need to understand how file system work.
Info/me is accessing a directory called 'me' inside info
directory.
info/me.html is accessing a html file inside info directory.
Xxx.info.html This doesn't make sense. It's probably Xxx/info.html or xxx.info/
Xxx/info.html Is accessing some site's or directory's info.html file.
xxx.info/ is accessing index.html of domain.info if index.html exist. Otherwise you will see file system.
I don't know why you think .html on end of your url is a problem but it's normal if you are accessing .html file.
Gunhoo Yoon
5,027 PointsGunhoo Yoon
5,027 PointsYep.