Will search engine spiders "see" buffered data or original content?

Discussion in 'PHP' started by batman4444, Nov 15, 2008.

  1. #1
    I am planning on changing some of my content dynamically using output buffering, my question is this, when search engine spiders crawl my site will they see the text that has been buffered(and edited), or will they see the original HTML, I am assuming they will see the buffered/edited data because the scripts are executed server side before they are sent to the user, but was wondering if anyone could verify this
    Thanks
    -Jarred
     
    batman4444, Nov 15, 2008 IP
  2. keyaa

    keyaa Peon

    Messages:
    137
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Verified, you're absolutely right.
    Search engine spiders are just http clients (like browsers), too - they can only see whatever the output of your php may be (the [processed] html, usually). The unprocessed content of your files cannot be seen by any clients, spiders or browsers. (At least not if php is activated and you don't have any security holes ;))
     
    keyaa, Nov 15, 2008 IP
  3. baiduspider

    baiduspider Peon

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes. If you want spider see special content you should judge AGENT.
     
    baiduspider, Nov 15, 2008 IP