Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
to slash or not to slash, that is the question
Old 03-21-2009, 06:45 PM to slash or not to slash, that is the question
Skilled Talker

Posts: 62
Name: Andrew
Trades: 0
I've been searching but haven't been able to find anything on this. I'm sure I'm just using the wrong search terms. Anyway, I'm just trying to get a better understanding of how navigation works in regards to directories.

If I have this link:

mysite.com/project

and the actual page is located:

mysite.com/project/index.html

When the link (mysite.com/project) is used, it actually navigates to the index.html page.

Here's the tricky part - whether "mysite.com/project" or "mysite.com/project/" is used, both options point to the index.html page.

I've seen elsewhere that technically speaking, these are actually two different urls and that Search Engines might see these as two completely different places. Here's the mention I'm referring to: http://www.mikeindustries.com/blog/a...d-smarter-404s

So my question is which is better to use "mysite.com/project" or "mysite.com/project/"

Or does it really matter? If it does matter, I guess it would make sense to keep my use of slashes consistent in the internal structure of my site, and when posting backlinks on other sites. I did the best I could to explain the question. Hope I was clear. Thanks for any suggestions.
andrew99 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-21-2009, 07:34 PM Re: to slash or not to slash, that is the question
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
The trailing slash indicates to the server that the requested URI is a directory name, without it it could be a file name.
If the trailing slash is already on the requested URI it saves the server a few microseconds of looking for a file with that name, then adding the slash, silently redirecting and serving the default page from the directory with that name.

All that really matters though is to be consistent.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-21-2009, 08:41 PM Re: to slash or not to slash, that is the question
Skilled Talker

Posts: 62
Name: Andrew
Trades: 0
Thanks for the explanation. I guess it makes sense to use mysite.com/project (instead of mysite.com/project/) when creating backlinks, so I think I need to change my internal site linking because I use slashes in the urls internally.
andrew99 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to to slash or not to slash, that is the question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.69841 seconds with 12 queries