Underscore in Foldernames ( 5 Views )

no kitty!
  1. What was the benefit in placing a _ in a folder name? I can't remember what it was. Can't really look up information on it either. Some kind of security? (placing the _ at the FRONT of the name of the folder, in this case)

    (burcu , Bouvet Island)

  2. Quote:

    Originally Posted by wha
    Your correct but if you type in an address with spaces in IE it will convert it to use %20. Older Netscape will not. Now that I think about it, images did not work either if the file name contained spaces.

    That's not netscape's fault though. It's the fault of someone giving you a malformed link, or a lazy developer.

    (dilek, Saint Pierre and Miquelon)

  3. I believe Macromedia Dreamweaver also uses underscored folders (example: "/_notes") to store Dreamweaver-specific data about a site. :)

    (nur , Sudan)

  4. Quote:

    Originally Posted by vgarcia
    You're supposed to escape the space with "%20".

    Your correct but if you type in an address with spaces in IE it will convert it to use %20. Older Netscape will not. Now that I think about it, images did not work either if the file name contained spaces.

    (MEHMET, Haiti)

  5. Quote:

    Originally Posted by wha
    If I remember correctly the older versions of Netscape could not handle addresses with spaces in it. i.e. www.yoursite.com/your folder/

    My 2 cents

    You're supposed to escape the space with "%20". This is a common mistake, but not as commone a mistake as the ~, seen a lot in user pages on some web servers, like http://www.yoursite.com/~vgarcia/. It should really be http://www.yoursite.com/%7Evgarcia/ :)

    (abdurrahim, Uzbekistan)

  6. Quote:

    Originally Posted by aaron.martone
    Lats, I think that was it though.

    Thank goodness, I thought I was going crazy for a while there :)

    (ArDa, Japan)

  7. If I remember correctly the older versions of Netscape could not handle addresses with spaces in it. i.e. www.yoursite.com/your folder/

    My 2 cents

    (sadece , Iran, Islamic Republic of)

  8. Lats, I think that was it though. It was just driving me crazy what the significance was of the underscore. I think it was the whole spidering dealio.

    Of course I know with todays scripts and what not, that getting into a folder is as good as just knowing it's there, despite its name.

    (Osman, Guinea-Bissau)

  9. Quote:

    Originally Posted by Lats
    It was just in my head from quite some time ago - most likely from my frontpage days.

    :lol: ;) That dastardly Front Page. :p

    (ipek, Greenland)

  10. Quote:

    Originally Posted by anode
    Where'd you come across this?

    It was just in my head from quite some time ago - most likely from my frontpage days.

    Quickly doing a google search looks like my suggestion has no validity what-so-everl - apologies to all.

    (kırzı, New Zealand)

  11. Quote:

    Originally Posted by Lats
    I was of the opinion that spiders completely ignore directories that begin with an underscore.

    Some spiders perhaps, but certainly not all (there's no technical limitation and it's not part of the exclusion standard.) Where'd you come across this?

    (simar, Paraguay)

  12. Yeah....it might have had something to do with spiders/bots

    (mess, New Zealand)

  13. I was of the opinion that spiders completely ignore directories that begin with an underscore.

    (aşk, Turkmenistan)

  14. frontpage doesn't handle underscores in front a directory name well for some reason, I think because it uses different underscored directories for its own functions. There is nothing special about using them.

    (polat63, French Southern Territories)

  15. Oh, I'm not trying to make URLs hard to guess here, I just was racking my brains thinking that there was something to the fact of adding a _ in front of a folder name... guess it's all in my head...

    (Aslıhan, Bermuda)

  16. I use an underscore when naming certain subdirectories in my site structure. Usually they include "_images", "_scripts", "_notes", and somtimes "_css" if I use mulitple external style sheets. It makes it easier to organize when I look at the site structure.

    In subdirectory I use additional "_image" directories for images used in that directory. It doesn't really have any benefit as far as search engines go, but it helps me keep everything organized. Especially if someone else takes over maintenance of the site later on.

    (serpil, Mongolia)

  17. Quote:

    Originally Posted by aaron.martone
    What was the benefit in placing a _ in a folder name? I can't remember what it was. Can't really look up information on it either. Some kind of security? (placing the _ at the FRONT of the name of the folder, in this case)

    No benefit, other than making it harder to get to a URL through simple typing. It may help in, for example, an admin directory of a site (i.e. http://www.mysite.com/_administer/), but I wouldn't use it in any public-facing portions of your site. IIS seems to like creating a backup of sites in the _vti_cnf folder as well for some reason. I suggest using better security mechanisms than "hard to guess URLs" :).

    (mehmet , Mozambique)

  18. Quote:

    Originally Posted by vgarcia
    ... not as commone a mistake as the ~, seen a lot in user pages on some web servers, like http://www.yoursite.com/~vgarcia/. It should really be http://www.yoursite.com/%7Evgarcia/ :)

    That's not a mistake, it's used to specify a user account

    Quote:

    Originally Posted by httpd.conf
    # UserDir: The name of the directory which is appended onto a user's home
    # directory if a ~user request is received.

    Sean :)

    (Kürşat, Ireland)



Related Topics ... (or search in 1.720.883 topics !)

get all foldernames in a directory (5)
to underscore or not (3)
dotted underscore ... how to? (9)
underscore problem (3)
underscore problem (4)
replacing an underscore? (7)
double underscore ' __ ' - why? (3)
use dash, not underscore, right? (21)
mod_rewrite both space and underscore (15)




copyright © 2007-2031 Pfodere.COM ( 6 Pfoyihuee Online )

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
0.7390