Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Closed Thread
Do you hypenate or underscore your filenames?
Old 01-22-2007, 02:51 AM Do you hypenate or underscore your filenames?
Mohab's Avatar
Ultra Talker

Posts: 256
Name: Mohab
Location: Cairo, Egypt
Trades: 0
If you have an html or graphic file that has more than one word for a file name do you put a:

space between both: file name.html
hypen file-name.gif
underscore file_name.gpj

Which method do you recommend?
Mohab is offline
View Public Profile
 
 
Register now for full access!
Old 01-22-2007, 04:08 AM Re: Do you hypenate or underscore your filenames?
stoot98's Avatar
Ultra Talker

Posts: 427
Name: Stuart
Location: Glasgow, Scotland
Trades: 0
personally i capatalise the words and leave them together (e.g. myPictureFile.jpg) same thing with variables in code.

I dont think theres any real advantage from different ways, but i wouldn't recommend spaces.
stoot98 is offline
View Public Profile
 
Old 01-22-2007, 05:21 AM Re: Do you hypenate or underscore your filenames?
Average Talker

Posts: 27
Trades: 0
I usually use underscore.
Like stoot98, I wouldn't recommend spaces as well.
__________________

Please login or register to view this content. Registration is FREE

Downloads 1000+ Premium Web Templates.

Please login or register to view this content. Registration is FREE

100% Original Free Web Templates.
boboman is offline
View Public Profile
 
Old 01-22-2007, 01:33 PM Re: Do you hypenate or underscore your filenames?
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Stay away from spaces! As far as naming goes, you just have to use whatever makes sense to you. Just be consistent in how you name things. For me, all graphical elements on my sites are separated with underscores. If I use a photo on a site, it gets all combined like Stoot98 does.

Just pick what makes sense to you and stick with it.
Tom_M is offline
View Public Profile
 
Old 01-22-2007, 02:52 PM Re: Do you hypenate or underscore your filenames?
vangogh's Avatar
Post Impressionist

Posts: 10,816
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I always use hyphens since that's the best for search engines.

A search engine sees myImageFile as one word. It also sees my_image_file as one word. I prefer they see each word and only hyphens will ensure that.

Also with underscores, while it may not make a big difference in image paths it will make a difference in links and urls that people see. The underscore can often get hidden and look like a space and possible lead to people trying to use the wrong url to find your page.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
View Public Profile Visit vangogh's homepage!
 
Old 01-22-2007, 09:44 PM Re: Do you hypenate or underscore your filenames?
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Quote:
Originally Posted by vangogh View Post
A search engine sees myImageFile as one word. It also sees my_image_file as one word. I prefer they see each word and only hyphens will ensure that.
I did not know that. Thanks for that little tip.
Tom_M is offline
View Public Profile
 
Old 01-22-2007, 10:59 PM Re: Do you hypenate or underscore your filenames?
vangogh's Avatar
Post Impressionist

Posts: 10,816
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Glad to help. Here's a post from Matt Cutts on using dashes and underscores. It's a year and a half old, but I believe the situation is still the same.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
View Public Profile Visit vangogh's homepage!
 
Old 01-23-2007, 12:20 AM Re: Do you hypenate or underscore your filenames?
Kirtan's Avatar
Who Am I?

Posts: 376
Name: Venkat Raj
Location: Salem, South India
Trades: 3
Not to competite with Vangogh / Matt Cutts

This article "visually" shows what is the difference between hyphen, underscore and conjoin.
Keywords In Urls

And John Scott of V7N
http://www.internet-marketing-blog.c...words-in-urls/
__________________
All the Buddhas of all the ages have been telling you a very simple fact: Be -- don't try to become.
Kirtan is offline
View Public Profile Visit Kirtan's homepage!
 
Old 01-23-2007, 11:50 AM Re: Do you hypenate or underscore your filenames?
vangogh's Avatar
Post Impressionist

Posts: 10,816
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I think both articles show that Google sees it just like I said. If you want your url to be seen as separate words in Google then you need to use a hyphen. Yahoo and MSN may or may not be able to parse the individual words with either the underscore or when run together, but Google doesn't.

I'm not sure why they can't becuase it seems like something they should be able to do, but for the moment if you want Google to see the individual words in your url you need to use a dash between the words.

I didn't see anything in either article that goes against that.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
View Public Profile Visit vangogh's homepage!
 
Old 01-23-2007, 08:08 PM Re: Do you hypenate or underscore your filenames?
Kirtan's Avatar
Who Am I?

Posts: 376
Name: Venkat Raj
Location: Salem, South India
Trades: 3
I agree. I just posted it coz the first article has SERP images which clearly shows whatz the advantage of using hypens over underscore and conjoined. And I, myself, using hypens. I love articles with images which explain theory, because of lack of english fluency. (Myself)
__________________
All the Buddhas of all the ages have been telling you a very simple fact: Be -- don't try to become.
Kirtan is offline
View Public Profile Visit Kirtan's homepage!
 
Old 01-23-2007, 09:54 PM Re: Do you hypenate or underscore your filenames?
vangogh's Avatar
Post Impressionist

Posts: 10,816
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I thought both were good articles. I did my own rather informal experiment a few months back. Does keyword1keyword2.com = keyword1-keyword2.com?

I was looking more at words combined into one and separated by dashes and my experiment was little more than a few searches at Google. I came to the same conclusion though.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
View Public Profile Visit vangogh's homepage!
 
Old 01-28-2007, 02:47 PM Re: Do you hypenate or underscore your filenames?
Experienced Talker

Posts: 40
Name: qbris
Trades: 0
everything is fine except space, in term of search engine friendly better to avoid any space in any of your file..for domain name im still not using dash, so im not sure the effect toward your keyword.
nikey is offline
View Public Profile
 
Old 01-29-2007, 03:35 AM Re: Do you hypenate or underscore your filenames?
Mohab's Avatar
Ultra Talker

Posts: 256
Name: Mohab
Location: Cairo, Egypt
Trades: 0
Thank you all for your replys.

I think I'l stick with hyphens/ dashes/ minus signs because they are easier to see and "Google friendly"
Mohab is offline
View Public Profile
 
Old 03-02-2011, 11:59 AM Re: Do you hypenate or underscore your filenames?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Mac, Linux and PC filing systems are not compatible and never likely will be.

They can all use FAT (File Allocation Table) filing system (without "long filenames") and FAT32 (long filenames) certainly.

The issue over incompatible file types is that Mac and Unix/Linux operating systems use the file headers to identify the file types whereas Windows uses the file extension and "File Associations" to identify the file type and therefore the application to pass the file to when opening it.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 03-02-2011, 02:37 PM Re: Do you hypenate or underscore your filenames?
edgray's Avatar
Super Moderator

Latest Blog Post:
Frantic
Posts: 4,264
Name: Sugarcane Gray
Location: Hell, Southern Spain
Trades: 0
The Mac system rocks. When I did my Apple Certification I learnt all about how awesome it is.
__________________

Please login or register to view this content. Registration is FREE
- a project in video and sound.

Please login or register to view this content. Registration is FREE
"Absolute Rubbish, an insult to the blues." - NME.

Please login or register to view this content. Registration is FREE
- Come use our agency :)
edgray is offline
View Public Profile Visit edgray's homepage!
 
Old 03-02-2011, 02:46 PM Re: Do you hypenate or underscore your filenames?
vangogh's Avatar
Post Impressionist

Posts: 10,816
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Quote:
albiet without cutting off my own ear
What? I'm afraid I can't hear you. One ear and all you know.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
View Public Profile Visit vangogh's homepage!
 
Closed Thread     « Reply to Do you hypenate or underscore your filenames?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.72704 seconds with 12 queries