homepage Welcome to WebmasterWorld Guest from 54.166.100.8
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Google / Google News Archive
Forum Library, Charter, Moderator: open

Google News Archive Forum

    
+ vs _ in the URL
Mod rewrite
finditnow




msg:55589
 4:56 pm on Jul 8, 2004 (gmt 0)

I am using modrewrite and it creates + instead of _ in the URLs. Is google OK with this or is there a simple way to change this to_?

Thanks for any help

 

is300




msg:55590
 4:13 am on Jul 9, 2004 (gmt 0)

try the HT Access forum.

rustybrick




msg:55591
 12:48 pm on Jul 9, 2004 (gmt 0)

For SEO reasons, I am not sure why you rather use an underscore (_) then a hyphen (-). Plus signs (+) probably work as well as hyphens, but underscores make a file name such as /my_page.html look like /mypage.html, whereas a hyphened file name such as /my-page.html looks like /my page.html (two words) in the eyes of the engines.

Of course Google is now highlighting both in the SERPs but tests have not shown otherwise.

is300




msg:55592
 1:13 pm on Jul 9, 2004 (gmt 0)

that's odd....i work at an SEO firm and we always use the underscores _ instead of the hyphens (-) for seperating keywords in the url paths.

perhaps googleguy could pay us a visit and settle this once and for all.

kaled




msg:55593
 1:47 pm on Jul 9, 2004 (gmt 0)

In the past GG has recommended the use of hyphens, however, as ever, he chose his language carefully. So far as I am aware, he has not stated categorically how underscore chars are treated.

Insofar as underscore is not a letter or digit you might reasonably expect it to be treated as a separator, but what happens when searching for function names such as URI_UNESCAPE? This could be treated as a search for "URI UNESCAPE" with almost the same effect. If Google were to use this strategy, underscore chars in urls could be safely treated in the same way as hyphens.

Perhaps, with a little experimentation, you could test whether Google does treat underscores as I have suggested.

Kaled.

jdMorgan




msg:55594
 2:01 pm on Jul 9, 2004 (gmt 0)

> perhaps googleguy could pay us a visit and settle this once and for all.

[webmasterworld.com...] message #8

Jim

trumble




msg:55595
 9:14 am on Aug 9, 2004 (gmt 0)


As a programmer, I can say it's likely that underscore is treated like any other alphabetic character, such that two words separated by underscores would be read by google as one word. Just as we don't read boathouse as "bao" and "house" separated by a "t".

But that's assuming Google is following standards. I can't understand why Google wouldn't downweight "-" considering it's used so widely in doorway pages and the like.

rfgdxm1




msg:55596
 12:52 pm on Aug 9, 2004 (gmt 0)

>I can't understand why Google wouldn't downweight "-" considering it's used so widely in doorway pages and the like.

Because the hyphen is also used by non-spammy webmasters because it makes it clear what the page is about.

surfgatinho




msg:55597
 1:03 pm on Aug 9, 2004 (gmt 0)

As far as I can tell both - and _ work. Look in the SERPS.
As for + I'd avoid it as I don't see it in the SERPS. It may be OK though

g1smd




msg:55598
 1:28 pm on Aug 9, 2004 (gmt 0)

An underscore visually "disappears" on underlined links.

It is better to use a hyphen. It reads more clearly, and the separated words will be treated as separate words.

internetheaven




msg:55599
 12:46 am on Aug 10, 2004 (gmt 0)

In searches, Google treats hyphens as though they are joining a word, not separating them.

Try a few:

'fun-fair' as opposed to 'fun fair'
or
'shot-gun' as opposed to 'shot gun'.

You'll see that Google lists the joint words (i.e. 'funfair' and 'shotgun') for the hyphenated versions.

isitreal




msg:55600
 1:54 am on Aug 10, 2004 (gmt 0)

it's likely that underscore is treated like any other alphabetic character, such that two words separated by underscores would be read by google as one word

This seems to be right, I searched:

allinurl:keyword1 keyword2 keyword3

and it returned only keyword1-keyword2-keyword3 urls, whereas underscores seem to be treated as letters, making keyword1_keyword2_keyword3 only findable by
allinurl:keyword1_keyword2_keyword3

But in the SERPS they clearly highlight key words in urls using underscores, so at least some of their system is able to correctly identify the underscore as a word separator, which is what it is. Why they made this decision is beyond me, underscore is clearly, and always has been, clearly a word separator, that's the first programming thing I learned almost. Whereas a - is supposed to hyphenate a single term. But if that's how they have decided to treat the symbols not much can be done about it.

g1smd




msg:55601
 9:03 am on Aug 10, 2004 (gmt 0)

The word highlighting is applied only to the SERPs output stream, not as a part of the underlying ranking algo.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google News Archive
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved