View Full Version : Hyphen or Underscore?
MattM
01-24-2004, 02:18 PM
I don't know if this even matters or not, but, when creating page file names, is it better SEO when seperating words to use a hyphen or underscore?
Example: file-name.php or file_name.php
Chris
01-24-2004, 02:22 PM
hyphen, because Google (for some unknown reason) does not treat an underscore as a space (unless they recently fixed this).
chromate
01-24-2004, 02:22 PM
I think hyphen's better. But I'm not actually sure if it matters these days.
Originally posted by Chris
hyphen, because Google (for some unknown reason) does not treat an underscore as a space (unless they recently fixed this).
Is it different with folders, or files that appear the same as folders (through mod_rewrite)? I ask because this site seems to use underscores.
ozgression
01-24-2004, 03:40 PM
No, same rule apllies to folders (as far as I know).
Chris
01-24-2004, 03:49 PM
Everyone other than Google uses underscores as spaces so for a long time thats what I used, I never bothered to test it with Google because it was standard. In applications when you cannot use spaces an underscore is the standard substitute.
However I then tested Google one time and found out that I shouldn't have assumed that they'd be like everyone else. Since that time I've used hyphens, but much of this site was made before I realized.
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.