Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
I was just wondering of what is the differences between Hyphen and Underscore in the URL. Does "_" means space while "-" make the word become one. Because I used to check Keyword density of some of my competitors and I found that URL that use 'hyphen' will represent as one word..
In this case, Keyword density analyzer will show that there are 2 words in this URL and 1 is keyword (main-key-word). So I just confuse about this and... what will it be if they use "main_key_word" instead. Anyone?
I thought that - and _ were treated in much the same way. For example:
widget.com/any_one_for_widgets.htm is the same as widget.com/any-one-for-widgets.htm
with respect to search engines.
Interestingly (?) on a test domain we tried:
but that didn't work too well with any of the search engines for some reason...won't be doing that again!
Any clarification of a definitive nature would, I am sure, help a few of us to get things right!
Can I get this 100% right (scuse the slowness but it is 8.30am here)
If I want to optimise on google for the phrase blue widgets, I am best to set up widgets.com/blue_widgets.htm.
If I want to optimise for the keywords blue red widget widgets (I should do separate pages in an ideal world I know) I would fo widgets.com/blue-red-widget-widgets.htm
Is that right?
Cheers for the clarification
Note: The word " main key word " is my major keyword and search term.
And Mohamed_E, from what you said it means that on No.1 - there will be 4 words in the URL (domainname, main, key, word) ... and 1 is my keyword..
But for No.2 - there will be 2 words in the URL.. (domainname, main_key_word)... and 1 is my keyword, am I right?
No. "blue widgets" is a phrase with two words, blue_widgets is a single word, as is bluewidgets. Think of therapist, it does not match "the rapist". Neither does the_rapist.
Let us get away from examples and look at how things are parsed. Hyphen is a word separator, just ike a space. Underscore is a character, just like 'w', for example. It may appear to separate words on the screen, but for Google it is just another character.
How do we know? WebGuerilla's test, using allinurl, shows that clearly.
> main_key_word.htm = mainkeyword
No. mainkeyword is a single word with 11 characters, main_key_word is a single, different, word with 13 characters. Neither bears any relation to 'main', key' or 'word'.
This applies to Google, I have no idea how other search engines treat hyphens and underscores.
That is the $64,000 question. Google almost certainly gives the file name some weight, the question is how much. Many would say that any weight is useful, I am not so sure.
For what it's worth, I use hyphens in new files, but have not renamed old ones that have underscores. A project that is on the very back burner for a slow day.
I have a CMS that allows me to name and create files and pages and as we will now be changing things to incorporate the -'s , not the _'s, I am wondering whether folders have any weight within web-positioning?
Looks like I have planning to do this weekend.
My geocities user name includes an underscore (it came from my Yahoo ID) and if I search allinurl for the part of that before the underscore, I don't get anything. FWIW, that word also shows up before an "'s" in the pages.
Mine is just one example, but it leads me to believe that hyphens are treated as separators but underscores and apostrophes are not.
But if keywords in page name, keywords in H-Tags, keywords in content a.s.o. AND keywords in inbound links match: that's very nice.
Does this count for the PR calculation or just gives you a chance to be listed closer to top on SERP's?
To make it simple, imagine a site that recieves only one outside link from a PR5 site (or page), for example. The PR5 site only links to the first site, so the first site must be ranked PR4. Following the rules on the top of the message, will the PR increase?
Thanks in advance for your time
The on-page factors are the biggest issue in placing high in the SERPs. They define which pages are relevant to the search.
PR is an improved version of the old link popularity. It helps decide among the relevant sites which are the most important.
IMO, PR is a secondary issue. Basic SEO on the page comes first.
If you currently use underscore I would not go changing hundreds of file names just for the chance that keywords in the file name will increase your ranking. I think it can help, but is only another tiny factor.
If these pages are already indexed then live with it. I think it would be crazy to allow them to be dropped, better to just make new pages, new content, and remember to use ' - ' instead.
If a page is in Google NEVER drop the file name.... just move on with new and better stuff.
In my honest opinion.....
That's really sad! I have "_" on all of my filenames and I used to think that it has the same advantage as the "-". Now I am confused, should I change all the filenames or should I just keep them as they are? I do not want to miss any factor of advantage.
I feel that Google should start treating underscores in filenames as spaces. There are so so so many sites out there who are using underscores as separators, inclusing the Dmoz and Yahoo directory (and even Google directory, for that matter).
What could be the reason that google doesn't consider underscores as spaces?
Anyone out here who can convince the Google people to start considering underscores as spaces! GoogleGuy, are you there. ;)
How does "+" fit into the equation?
I have a dynamic syte which lists things like:
since the database stores things in proper english, like
Widget & Wodget Category
Widget's Wodgetty, Thingies
so the URLs ("static" style urls) have the usual URLENCODING in them:
They seem towrok well enough, and make the most sence to users (rather then changing them "randomly" by removign certain letters and so on)
But how does Google see them?
this discussion is rather frustrating because when I search for most anything, I see far more results that have urls packed with "_" than with "-". (Try some searches and look at the first 100 results for yourself)
Perhaps this is because far more people code pages with "_" than "-"? I don't know. If "-" has such an advantage over "_" why don't I see it in the serps more often?
It may be true that google reads "-" as a space and "_" as a character, but if you go overboard with something like www.domain.com/kw1-kw2-kw3-k4-k5.html maybe google views that as a bad kw stuffing attempt? Whereas www.domain.com/kw1_kw2_kw3_kw4_kw5.html gets no positive effect but attains no penalty either -- thus remains ahead?
Thoughts? I'm speculating only.