View Single Post
Old 12-09-2011, 10:03 PM   #6 (permalink)
chadcharlie
Senior Member
 
Join Date: Oct 2011
Location: New York, NY
Posts: 122
chadcharlie will become famous soon enough
Default

Quote:
Originally Posted by Aminka Ozmun View Post
What aussieNickuss thought, Curtis!

I've read opinions saying it doesn't matter and opinions that claim it does and I still don't get what the fuss is over and why these trailing slashes even exist....
The URL is both a translation of ip address through the web, and also an indication of file location on the (your) server. So trailing slashes imply that there is more to path to, other "pages" to the site, ect. That's all there is to it. You wouldn't see a trailing slash after a file extension like homesite.com/thisdirectory/sitepage.html But the URL homesite.com/thisdirectory and homesite.com/thisdirectory/ are both valid browser destinations. ...assuming there is an index.html (or equivalent) in that directory on the server.
chadcharlie is offline   Reply With Quote