SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    cd /pub; more beer diacono's Avatar
    Join Date
    Dec 2000
    Location
    Horsham, West Sussex, UK
    Posts
    277
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wen it come down to how search engines work i really dont have a clue

    lets say i've got some files some where obscure in my directory site.com/very/deep/directory/file.ext but no links to it... would a search engine find it? do search engines browse you server and find all the files or do they just simply follow links?
    probalbly i could eve take it a step further, what about flat file databases (i've currently got a small site like that...) where the links look like site.com/facts.php?id=1
    tia
    DIEGO MOORE

  2. #2
    SitePoint Evangelist lirux's Avatar
    Join Date
    Jan 2001
    Location
    Lisboa : Portugal
    Posts
    418
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Only the pages you link to will be indexed. If you want site.com/very/deep/directory/file.ext indexed, you'll have to submit it by hand.


    About pages like site.com/facts.php?id=1, as far as I know, only Google indexes those, you could have them index those pages by following a trick that was in a post somewhere, I think the code for it was something like (in php)

    $url_array = explode("/",$PATH_INFO);
    $id=$url_array[1];

    $PATH_INFO, contains... path info! So you can call the script like this site.com/facts.php/PAGE_ID and the $id will be given the value of PAGE_ID.

    Now search engines will think it's a directory with an index.html file and will index it's content!
    Duarte Carrilho da Graša
    RailsHelp.com: Searchable Rails reference
    CACA: Committee for the Annihilation of Complicated Acronyms

  3. #3
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My 2 Cents (or is that 2.2 Cents including GST?)

  4. #4
    cd /pub; more beer diacono's Avatar
    Join Date
    Dec 2000
    Location
    Horsham, West Sussex, UK
    Posts
    277
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, i read about that method... i think i'll start changing some links then.
    thanx
    DIEGO MOORE


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •