| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Account Closed Join Date: Sep 2006
Posts: 1,075
![]() ![]() ![]() ![]() ![]() ![]() | 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 Join Date: Oct 2006 Location: NJ
Posts: 1,152
![]() ![]() ![]() | Well, underscores can sometimes be mistaken for spaces, especially when underlines as a link
__________________ Web Development |
| |
| | #5 (permalink) |
| NamePros Member Join Date: Apr 2006 Location: USA
Posts: 199
![]() ![]() ![]() ![]() | 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 |
| |
| | #7 (permalink) | ||||||||
| Forum Moderator ![]() Join Date: Aug 2006 Location: USA
Posts: 2,037
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/programming/275928-better-name-html-file-hyphen-underscore.html 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.
Last edited by enlytend; 01-02-2007 at 11:08 AM.
| ||||||||
| |
| | #8 (permalink) | ||||
| Senior Member Join Date: Dec 2006 Location: England
Posts: 1,568
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #9 (permalink) |
| NamePros Regular Join Date: Oct 2005 Location: Portugal
Posts: 800
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 |
| |
| | #10 (permalink) | ||||
| Forum Moderator ![]() Join Date: Aug 2006 Location: USA
Posts: 2,037
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=275928 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 ... | ||||
| |