Sorry this site requires JavaScript to be enabled in your browser. See the following guide on How to enable JavaScript in Internet Explorer, Netscape, Firefox and Safari. Alternatively you may be blocking JavaScript with an advert-related or developer plugin. Please check your browser plugins.

I’ve often had debates with my web developers about this issue: "Why these links have a trailing slash "/" at the end and those don’t?", I asked. "It doesn’t matter, it works either way", was the answer. Well, to begin with, if you get such a reply from a web developer, start looking for another one because this answer is profoundly incorrect, to say at least. When it comes to an URL, every single character matters,
Comments5 Comments  

Comments

Avatar
from RobertW 1814 Days ago #
Votes: 0

Ann points out a very good but often overlooked part of link building in her article...

Be consistent with your "link to" urls!




Avatar Moderator
from Jill 1814 Days ago #
Votes: 0

Has anyone ever seen a search engine index both the non-slash and the slash version?

Seems to me they have figured out to use one or the other. Would love to see an example of them indexing both (thus splitting the link pop. as stated in the article) if anyone has one.

I've never run across it as a search engine problem before.



Avatar
from RobertW 1814 Days ago #
Votes: 0

Jill - In my entire career Ive never seen non slash and a slash version of a folder index file indexed by any search engine - but just like I mentioned in a comment on Ann's post - there should be a distinction between folder indexes and rewritten urls - because it is possible to have two files that exist in both a slash and a non slash version that could create a "split link pop" result - but I doubt the split link pop could occur on a folder index based on a non slash and a slash



Avatar
from bonniegibbons 1812 Days ago #
Votes: 1

My concern is that users view domain.com/something and domain.com/something/ as identical and they aren't going to stop doing so any time soon.

Also, I've noticed that browsers (in the history bar and other functions) will gleefully strip away a trailing slash and there's nothing you can do about it. If that trailing slash is necessary to make the page work, your page will break when access from browser history, no matter how consistent you are with your URL coding and in your link building.

In a related issue, Google seems to strip away the index file from your URL if there is one. (domain.com/folder/index.html gets displayed as domain.com/folder/)

While consistency is a must, for sure, it's important to make sure your URLs work either way, whether through redirects or whatever.



Avatar
from SEObyMike 1778 Days ago #
Votes: 0

I always wondered about that, good read...



Upcoming Conferences

Search Marketing ExpoSearch Engine Land produces SMX, the Search Marketing Expo conference series. SMX events deliver the most comprehensive educational and networking experiences - whether you're just starting in search marketing or you're a seasoned expert.



Join us at an upcoming SMX event: