Can Google Index Database?

by 4 replies
6
Does, or can, Google index your database by entering through your php code? How does that work? My database has bunch of duplicate content so I'm worried.
#programming #database #google #index
  • Relax, Google cannot actually read the database itself! They only index the pages that result from the data in your database.

    Not only would the Google spider have to determine the database name, server, username and password (and if you're clever you've hidden that below the HTML root of your site anyway) but it would have to understand the table structure of the database itself.

    Hope this sets your mind at ease!

    Bill
    • [ 1 ] Thanks
  • Google can only follow links. If the pages that these links point to generate content by using php / mysql to populate these pages then yes Google can crawl the generated pages. If your browser can view a page then Google can see it.

    The only times when Google cannot see these pages is A) They are orphaned pages, ie - there are NO links pointing to them; or B) The content is hidden behind a login system.

    Also, Google cannot see your php code. PHP is server side.
    • [ 1 ] Thanks
    • [1] reply
    • Let me give you example. The php is a survey script.

      Ex: What is your favorite color?
      Red
      Blue
      (the user clicks red)

      Next question:
      Why do you love red?
      Because i Do
      I think it is pretty
      (user clicks: I think it is pretty)

      And so forth. Just wondering can google spider that whole survey and index it for that page. If so, I have a problem and I need to keep them from doing that. Thanks.

      Sorry, ignorant when it comes to php and coding.
      • [1] reply
  • Banned
    [DELETED]
  • Banned
    [DELETED]

Next Topics on Trending Feed