SEO questions for URLs


4

I have couple of questions regarding SEO for URLs

  • Does hyphen vs. underscrore in the urls affect SEO?
e.g. www.mysite.com/my-first-post vs. www.mysite.com/my_first_post
  • Does capital letter vs. small letter in URLs affect SEO?
e.g. www.mysite.com/My-First-Post vs www.mysite.com/my-first-post

SEO

asked Feb 2 '10 at 14:11
Blank
User2202
164 points

5 Answers


4

Google treats hyphens as spaces, which is good for getting your keywords into your URL (Google loves this). It does not do the same with underscores, so you definitely want to use hyphens instead of underscores.

Google doesn't particularly care whether you use capital letters or not, but there are a couple of things to keep in mind. First is that some web servers are not case sensitive. By that I mean that www.mysite.com/Hello will return the same page as www.mysite.com/HELLO and www.mysite.com/hElLo. This is good, because when other people link to your site, they may not get the link exactly right. The second thing to consider is that by convention, urls with lower case letters are standard. If you violate this convention, some people that link to you may use all lower case letters, and if your web server IS case sensitive, the link won't work. What I recommend is that if you have a choice, use a web server that IS NOT case sensitive.

Another thing to think about related to uppercase/lowercase is that it's harder to pick out separate words when they all run together in the same case. This is typically only an issue with print advertising (billboards, brochures, etc.). In these cases, I would want to print www.MySite.com rather than www.mysite.com, since it's much easier to pick out the individual words when they are capitalized.

answered Feb 3 '10 at 02:48
Blank
Michael Trafton
3,151 points
Add Comment

2

Yes and yes.
Best practise is to use hyphens and lowercase. Simple as this.

answered Feb 2 '10 at 19:38
Blank
Jan Mueller
31 points

0

While lower-case with hyphens would be how I would go now, I don't think it matters as much from a pure SEO perspective.

If you search Google for a college on my site Vast Rank with hte following search, you can notice Google highlights the word Stanford just fine in the URL (I don't use hyphens or lowercase).

"stanford site:vastrank.com"

So to answer the original question, I don't believe hyphens or capitalization affect SEO from a ranking standpoint, but I do think it may marginally help with click through rate if it is more readable.

Cheers,
Jon

answered Feb 4 '10 at 13:54
Blank
Jon Kragh
185 points

0

  1. There is zero SEO benefit for hyphens vs. underscore. Hyphens might be best practice for any new URLs created, but it is NOT worth changing your existing URLs to hyphens if they are currently underscores.
Watch Matt Cutts answer this exact question: http://www.youtube.com/watch?v=AQcSFsQyct8.

  1. Lower case is better than upper case, but again, it's not worth changing any existing URLs as that may have an effect on search engine indexes. However, ALL websites of SEO consultants have lower case URLs. SEO sites are always good to mimick as they almost always follow best practices. BUT, as Micahel pointed out, alternating case for DomainNames.example is best.
answered Dec 1 '11 at 03:31
Blank
Dan Male
108 points

0

Agree with Michael Trafton, Hyphens are more SEO friendlier than underscore in the URL. So, You have to use Hyphens to separate words from each other.

And the second one is that search engines (or web servers) consider the same meaning either that words are in capital or small letters. But keep remember that some web servers consider that words two different as they differ in font (capital and small fonts). To avoid that confusion always try to use small fonts.

answered Apr 16 '13 at 21:41
Blank
Cbilusa Jay
21 points

Your Answer

  • Bold
  • Italic
  • • Bullets
  • 1. Numbers
  • Quote
Not the answer you're looking for? Ask your own question or browse other questions in these topics:

SEO