| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Account Closed | Better to name a HTML file: Hyphen or Underscore? According to your development experience, which one you think is better for the ranking of a site to name a HTML/PHP file: Hyphen or Underscore? Let's consider just SEO, not type-ins, as users would not type long urls anyway. For example: www.DOMAIN.ext/keyword1-keyword2-keyword3.htm or www.DOMAIN.ext/keyword1_keyword2_keyword3.htm Thanks or your input. |
| |
| | #3 (permalink) |
| Senior Member | Well, underscores can sometimes be mistaken for spaces, especially when underlines as a link
__________________ Web Development |
| |
| | #5 (permalink) |
| NamePros Member | Observation only I have noticed that News.com.com.com or whatever they are called use + a lot in their URLs. EXAMPLE: http://news.com.com/Survey+Chip+sale...l?tag=nefd.top The other observation is that blogs generally have - in their urls. ![]() I am NOT an expert. ![]() Jeff |
| |
| | #6 (permalink) |
| Spamzor.com ![]() | Personally I use underscores, though, it doesn't really matter if you look to SEO. ![]() It is a fact that underscores could be mistaken by spaces or so, in that view it's better to have hyphens.
__________________ Useless is cool! Work From Home Opportunities - 1 link ... 1 month ... 5 NP$ ] Real bargain! Limited to 1 month. |
| |
| | #7 (permalink) | ||
| NamePros Regular | Quote:
Google parses hyphens as word seperators, but underscores are parsed as characters. This means that word1-word2 is seen as 2 words (word1 and word2), but word1_word2 is seen as ONE word (word1_word2). This has been verified by Google engineer Matt Cutts on a number of occasions, his most recent reference on the web (that I could find in a quick search) in April 2006. Quote:
Last edited by enlytend; 01-02-2007 at 10:08 AM. | ||
| |
| | #8 (permalink) | |
| Stud Sausage | Quote:
| |
| |
| | #9 (permalink) |
| NamePros Regular | if you search almost anything on google you will see even if the url is keyword1_keyword2.html it treats both as seperated words and not as one. if you search for "flu shot" ( withou the "" ) you will have in the listing : en.wikipedia.org/wiki/Flu_vaccine pediatrics.about.com/cs/immunizations/a/flu_shots.htm http://www.kidshealth.org/parent/gen...u_vaccine.html www.medicinenet.com/flu_vaccination/article.htm if the two words separated by the underscore was treated as one those results shouldn't be listed.
__________________ Joćo Fernandes Silva Selling : 19P.ORG - ARCADEHITS.ORG - AZIAN.NET - COREFANS.COM - CTUTORIALS.NET - DEDISEEK.COM - HITCHECK.COM - HOST15.COM - HOSTCUSTOMER.COM - LARGETIPS.COM - SCRIPTCANDY.COM - VISUALBOOK.NET - VOXVPS.COM / .NET - WALLPAPERSARENA.COM |
| |
| | #10 (permalink) | |
| NamePros Regular | Quote:
Flu vaccine - Wikipedia, the free encyclopediaThe individual words of the query (flu and shot) are highlighted in the search results, as expected. Now look at the next result: Influenza pandemic - Wikipedia, the free encyclopediaNotice how the serps display the word flu highlighted within the word "Influenza" in the url - they're showing you one of your search terms even though its embedded in another word. Here's an experiment - try these 2 queries in a Google search: flu-vaccine site:wikipedia.organd then try flu_vaccine site:wikipedia.orgThe first returns all results containing flu and vaccine in order and separated by one character. However, the second query returns only the results with the literal "flu_vaccine"! And even more interesting, notice how flu and vaccine are NOT highlighted in the URL: en.wikipedia.org/wiki/Wikipedia:Featured_picture_candidates/Avian_Flu_Vaccinein the results from the first query - So, with all due respect, it looks to me like hyphen is still being interpreted as a separator and the underscore as a character in Google ... | |
| |
| | #11 (permalink) |
| NamePros Regular | hyphen is being interpreted as a separator if you insert it on the search query not on the results, that was what i meant.
__________________ Joćo Fernandes Silva Selling : 19P.ORG - ARCADEHITS.ORG - AZIAN.NET - COREFANS.COM - CTUTORIALS.NET - DEDISEEK.COM - HITCHECK.COM - HOST15.COM - HOSTCUSTOMER.COM - LARGETIPS.COM - SCRIPTCANDY.COM - VISUALBOOK.NET - VOXVPS.COM / .NET - WALLPAPERSARENA.COM |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |