Can SE crawl links which is called with php include?

Discussion in 'Link Development' started by sakuragi, Apr 23, 2006.

  1. #1
    Here's the situation. i used <?php include ("footer.html"); ?> to place
    the footer in my webpages. And the question is, can search engines crawl
    the links contain in the footer.html file :confused:

    Thanks!
     
    sakuragi, Apr 23, 2006 IP
  2. jfontestad

    jfontestad Well-Known Member

    Messages:
    1,236
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    148
    #2
    yes it will.
    when the file is called into the php file it will display the main php page as a whole including the footer and all other included pages within that main page called.
     
    jfontestad, Apr 23, 2006 IP
  3. poseidon

    poseidon Banned

    Messages:
    4,356
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ya sure .. it's fine

    if not than you wouldn't have seen pages like xyz.php?id=342 on search engines :)
     
    poseidon, Apr 23, 2006 IP
  4. Jean-Luc

    Jean-Luc Peon

    Messages:
    601
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No spider can detect that you use PHP include functions or not. Spiders will see the same HTML source code of the page as you can see with your browser.

    Jean-Luc
     
    Jean-Luc, Apr 23, 2006 IP
  5. commandos

    commandos Notable Member

    Messages:
    3,648
    Likes Received:
    329
    Best Answers:
    0
    Trophy Points:
    280
    #5
    it will not crawl the page footer.html it will crawl the page containing that footer.html .

    php is server side , search engine dont even know what kind of includes you inserted all what they know is that you have a page .

    so if u have a page index.php that contain :

    <?php include ("header.html"); ?>
    <?php include ("content.html"); ?>
    <?php include ("footer.html"); ?>

    SE will only see the index.php (the content of the 3 files)
     
    commandos, Apr 23, 2006 IP
  6. poseidon

    poseidon Banned

    Messages:
    4,356
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #6
    well actuallly ya, after using include your content of footer.html will be considered as of index.html(which is including) but still ur content will be get crawled :)
     
    poseidon, Apr 23, 2006 IP
  7. sakuragi

    sakuragi Well-Known Member

    Messages:
    199
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    140
    #7
    Thanks for the reply. This question has been bugging me for some time now. Atleast now i know i can use php include to easily update my site. Thanks again!
     
    sakuragi, Apr 24, 2006 IP