Forum Moderators: open

Message Too Old, No Replies

ok to use spaces in document names

         

kapow

2:19 pm on Nov 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it ok to use spaces in document names?

Note: this thread is NOT about if it is better seo to use dashes or underscores, thats another subject.

The reason I ask is that customes sometimes send me a dozen word docs or pdfs for downloads on their site. I go through removing spaces in the document names, but this is boring and it would be nice if I didn't have to do it. These downloads do NOT requie seo.

DrDoc

3:02 pm on Nov 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It entirely depends on the Web server OS, if it can handle spaces in file names. However, some older browsers sometimes do not handle spaces well.

pbb00

3:08 pm on Nov 12, 2003 (gmt 0)

10+ Year Member



if the links to the downloads are properly formatted, it should be no problems:
<a href='document name with spaces.doc'>download</a>

otherwise, you can always replace the spaces with %20:

document%20name%20with%20spaces.doc

hmmm... can you tell me what 'seo' means?

DrDoc

3:09 pm on Nov 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



SEO = Search Engine Optimization

kapow

4:26 pm on Nov 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm using Dream Weaver which substites %20 for spaces.
The site is on an Apache server.

So If I run a test and it works on my browser (IE6) can I assume its ok for most others too?

pbb00

7:44 pm on Nov 13, 2003 (gmt 0)

10+ Year Member



Depends on your target audience of course, but normally Internet Explorer 6 is used by most internet users :)

g1smd

8:30 pm on Nov 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Spaces in filenames don't work well in all browsers, especially if the document is saved by the reader and they try to view it offline.

Filenames with %20 in them simply look wierd and soon become cluttered and unreadable.

Get your clients to replace the spaces with something else. You talk of the hyphens vs. underscore debate; but no-one ever mentions my favourite which is to have dots between the words:

http://www.domain.name.com/some.folder/other.folder/the.document.on.the.site.html

bruhaha

2:25 pm on Nov 14, 2003 (gmt 0)

10+ Year Member



Spaces in filenames don't work well in all browsers

Consider also that links to the page may be cut and pasted elsewhere (e.g., in email) where they may be clickable, but will be broken at the space and so not send people to the proper destination.

When I'm given files with spaces in the name, I frequently simply remove the spaces and, to improve the readability of the names, capitalize the beginning of each new word (rather than adding hyphens or underscores).