Underscores vs. dashes in URLs

Underscores vs. dashes in URLs

Google Search Central

13 лет назад

175,289 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@MichaelMuryn
@MichaelMuryn - 18.05.2012 01:40

Idea to index the parts AND the sum (i.e. tmp, max, tmp_max for "tmp_max") is interesting. Idea to let the webmaster define how their website URL are defined are interesting for a "search engine" point of view (would prefer a global standard to define this, rather than Google only). I am sure, at least I hope, some people at Google have thought of these ideas already.

Ответить
@MichaelMuryn
@MichaelMuryn - 18.05.2012 01:41

I don't think people should adapt to Google, but Google should find way to get the most out of content about real usage (and it probably does on most point). People should however do the "right" thing, and that is where I would support Google, but then I have to be convinced it is the "right" thing. ;-)

Ответить
@thundergr
@thundergr - 23.05.2012 21:13

This is not the case on the web. See wikipedia for example. A search engine should be as accurate as possible. it should be fixed.

Ответить
@guggelheim
@guggelheim - 02.08.2012 12:02

Reasons why underscore is better than hyphen to separate words in friendly urls: 1. It's much more readable 2. "Nineteenth- and twentieth‑century writers" becomes "Nineteenth--and-twentieth‑century-writers". In some languages, fe. finnish the hyphens are used extensively to join words together. (see Wikipedia article for hyphen for more examples) Being a finn, I'm not too happy about Google forcing me to use the ugly hyphens.

Ответить
@guggelheim
@guggelheim - 02.08.2012 12:12

Oh, and Google itself uses underscores in its urls. What's that about?

Ответить
@guggelheim
@guggelheim - 27.08.2012 13:21

Lovely. I hope you understand that calling anyone retarded makes you sound like one. Unless of course you're thirteen years of age or under. It's simple really. With dashes you lose the possibility to revert a friendly url back to it's exact original form as the dash character gets a double meaning (it can be a space or a dash). With underscore you don't lose that information.

Ответить
@92idoo
@92idoo - 15.02.2013 21:40

Hi, What do you think about using underscores for words that come together and hyphens for separate words? Examples: buy-low_cost-flight-tickets all_inclusive-holidays

Ответить
@adamsamgee
@adamsamgee - 06.03.2013 09:22

if I have to use hyphens, matt cutts needs to write in a straight line. deal?

Ответить
@HollywoodAstrologyReading
@HollywoodAstrologyReading - 15.03.2013 04:37

I recommend just doing yoursite dot com/--_--.php

Ответить
@buginsoup1
@buginsoup1 - 19.03.2013 15:50

why would I want to use _ when I can simply write twowordstogether?

Ответить
@brianswanickeverythingswan
@brianswanickeverythingswan - 30.03.2013 05:01

This should be a commandment for local businesses. Thank you to the wonderful person who created 301's...although if you use a CMS, you probably will never have this problem. Others. Just not this one.

Ответить
@AndreasBelivanakis
@AndreasBelivanakis - 03.04.2013 04:14

Dashes instead of underscores is a no-brainer. The real question is, dashes, or no dashes? In other words, is redwidgets better than red-widgets? And does the correct answer (if there is one) depend on whether the dash or no dash term is in the domain itself, versus a folder or filename?

Ответить
@jakemcgrew
@jakemcgrew - 18.04.2013 16:51

Has this methodology or its impact in SEO ranking changed since 2011?

Ответить
@jakemcgrew
@jakemcgrew - 18.04.2013 16:53

Spammers bought many popular non-underscored and non-hyphenated domains and are reselling them at a huge ransom.

Ответить
@methodinsane
@methodinsane - 19.04.2013 15:52

How relevant is this info to google/seo in 2013?

Ответить
@0xAdam
@0xAdam - 19.04.2013 23:48

This old stuff is so much more informative than the videos you're putting out these days. Please bring back the good stuff :-(

Ответить
@1SourceSEO
@1SourceSEO - 15.08.2013 17:16

I was looking for the answer to which one was better UNDERSCORES vs DASHES and this video seemed to sum it up pretty quick. Matt indicates dashes are better but if you already have lots of URLS with underscores, don't bother to go back and change them. Thanks for the advice.

Ответить
@WorldCoffeeGuy
@WorldCoffeeGuy - 04.09.2013 19:23

The correct word is "hyphen." A dash is two hyphens.

Ответить
@MichaelMuryn
@MichaelMuryn - 05.09.2013 03:44

Paradoxically with the historic reason, lot of developers are used to use underscore to separate keyword, so it is/was more likely that they use the same pattern to name their resource/filename. However, with all the SEO talk, hyphen gained the popularity contest. Without that, we would see more underscore in URLs. Only potential valid reason for hyphen would be that it is easier to type/read for non-techy (?)

Ответить
@MichaelMuryn
@MichaelMuryn - 05.09.2013 03:45

Keep in mind that it is the search engines that should adapt to find good websites and not otherwise. Do thing right and they should find you. Of course in practice, we cannot wait for Google to fix their low-priority tasks and we want to take advantage of every tiny bit of SEO.

Ответить
@kannan9600
@kannan9600 - 17.10.2013 10:12

Yes i agree. It is more of user experience.

Ответить
@spookseo5244
@spookseo5244 - 05.11.2013 20:29

Thanks Matt for the valuable instruction!!! Although dashes in the URls play a crucial role in the SEO prospect, it’s not recommended for the sites already have indexed on search engine. However, use dashes instead of underscores for new sites for better ranking impact.

Ответить
@iamtommyw
@iamtommyw - 03.12.2013 10:21

Spook, Matt is trying to explain the different uses of hyphens and underscores, they both have specific uses. Use hyphen if you want to increase the number of keyword derivatives that the page can appear, and underscores to set specific keyword combinations.
Besides that, Google doesn't want you thinking about increasing rankings, it wants you to increase the value and relevance of information on your site. 

Ответить
@sanosteamcleaning
@sanosteamcleaning - 08.12.2013 17:44

I have links to my site with both www prefix and without. Does google count both address as one and should domain www or Not to www ?

Ответить
@humanyoda
@humanyoda - 06.02.2014 05:54

HYPHENS, not dashes!

Ответить
@televine
@televine - 01.07.2014 02:50

thank you of the film;
had build about 40 websites with _ underscores_ years ago because that was the standard (learned method) and found out now that - dashes - separates the words. So I went back to change the sites with - dashes - and found my self in front of a lot of work; 1000s and 1000s of pages.
Leave it alone and spend your time on new pages and/or sites and not to risk the contamination of those sites that are already built; use dashes for your future site work.
PS If you have html pages that are important to the site; then spend the time but beware you my lose 100s of links.
     Back up the site to a separate hard drive before you attempt to do this.

Ответить
@chrischen1667
@chrischen1667 - 23.09.2014 17:24

Hahaha that's funny

Ответить
@CheddarBackInc
@CheddarBackInc - 16.10.2014 07:04

What if you don't use a hypen or an underscore? Is that bad?

Ответить
@HasanSumon1
@HasanSumon1 - 04.12.2014 07:51

Hello matt ,my site's URL was my_site_example_example/65656 ,like that and now my developer fix it and now it is site-example-example/65656 ....... so is there any problem to index by Google or any crawl problem ??

Ответить
@MarciaLKing
@MarciaLKing - 06.04.2015 17:12

Is this logic still true?

Ответить
@extressitlottagustafsson3646
@extressitlottagustafsson3646 - 26.08.2015 09:34

THIS ALSO EFFECTS SEARCHING IN GOOGLE APPS DRIVE! FILES WITH UNDERSCORE DOES NOT APPEAR IN THE SEARCH RESULT. Funny though they appear in Autocomplete but not later in the searchs result list. This is very disturbing and I cannot find any information that it will com a change and now we are writing 26 August 2015!

Ответить
@TomStagg
@TomStagg - 23.01.2016 17:44

I'm sorry but this needs to be fixed. Example: If I have two files in Google Drive: keyword-test and keyword_test. If I search for term "keyword" then I only get the keyword-test file back. I can never find the keyword_test file. For Google, a search company, this is pretty bad.

Ответить
@jamilgotcher5456
@jamilgotcher5456 - 13.06.2016 18:44

When Matts says it's a word separator does he mean that the hyphens do NOT or DO string a search phrase together? I"m hoping the answer is DO. Example: Idaho-Potatoes If someone searches Idaho Potatoes will my hyphenated example be good for search ranking? Does Google rank Idaho separate and Potatoes separate as an unrelated search phrase if /Idaho-Potatoes used in the url?

Ответить
@alokranjann
@alokranjann - 31.10.2016 12:40

i am not agree matt. (_)Underscore or (-)dash doesn't matter for wikipedia because wikipedia quality matter ok plz learn more matt cutt

Ответить
@sararay933
@sararay933 - 25.08.2017 22:35

thank you

Ответить
@alxsz
@alxsz - 15.04.2018 21:30

WHO KNOWS?
Could you tell me please, will it be good or bad if i'll redirect urls with underscore to urls with -dashes-?

Ответить
@LIROELQBREGA
@LIROELQBREGA - 29.04.2018 00:35

2018 update please!

Ответить
@peterkothampananiyil7293
@peterkothampananiyil7293 - 06.05.2018 09:27

It is interesting

Ответить
@tofuComputer
@tofuComputer - 01.02.2019 17:29

It's February of 2019 as I write this comment. Is this actually still true? Any updates on this? (And my two cents: this is humans bending to technology, not technology serving humans. Not good nor reasonable)

Ответить
@Karthik_Shetty.S
@Karthik_Shetty.S - 12.04.2019 07:04

Thank you

Ответить
@rcemales4005
@rcemales4005 - 27.08.2019 11:00

please update !!!

Ответить
@technobelieve5192
@technobelieve5192 - 13.04.2020 17:05

who came from udemy course?

Ответить
@Engineeer
@Engineeer - 17.09.2020 20:43

How do I best encode terms, which already contain dashes, like "Roland TB-303"? Is "roland-tb-303.html" better than "roland-tb303.html"?

Ответить
@sunnyshekhar8734
@sunnyshekhar8734 - 31.10.2024 13:13

2024 update please !
Also... Happy Diwali from India !! 🥳🥳

Ответить