Google Site Verification in Drupal

Discussion in 'Drupal' started by litebulb1, Nov 9, 2007.

  1. #1
    Does anybody know where to put the html files when verifying a site with google webmaster tools? I can get one to work but I have several sites on the same code base so I don't know where to put the file. Thanks.
     
    litebulb1, Nov 9, 2007 IP
  2. Actor Mike

    Actor Mike Peon

    Messages:
    333
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You drop the verification file in the root directory of whatever site you're wanting to be included.
     
    Actor Mike, Nov 9, 2007 IP
  3. beejaysea

    beejaysea Peon

    Messages:
    141
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you're using the gsitemap module, there is a setting to just put the google_xxxxxxxxx.html reference right in the configuration settings, which produces the output "Hello, Google", but dropping it in the document root works also.

    I prefer the former method. If I wish to upgrade the Drupal version, I am not burdened to remember extraneous files in the document root should I choose to do a "full" upgrade, as is suggested in the documentation. I will qualify this by saying that this method of upgrading is more important for version upgrades as opposed to point upgrades.
     
    beejaysea, Nov 9, 2007 IP
  4. litebulb1

    litebulb1 Peon

    Messages:
    151
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    beejaysea the problem with using gsitemap module is that I have multiple sites running under one code base.
     
    litebulb1, Nov 10, 2007 IP
  5. Tearabite

    Tearabite Prominent Member

    Messages:
    4,629
    Likes Received:
    429
    Best Answers:
    0
    Trophy Points:
    300
    #5
    i have two sites, but with individual code-bases, so this might be a stupid question, but when you have multiple sites under one code base, doesn't each site have it own settings, configurations, modules, etc?
     
    Tearabite, Nov 10, 2007 IP
  6. beejaysea

    beejaysea Peon

    Messages:
    141
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You can optionally share parts of the database between sites. As long as the sites have different databases for the nodes and taxonomy terms, I don't see why xmlsitemap wouldn't work (FYI, xmlsitemap, not gsitemap as previously stated. I forgot that it was migrated to xmlsitemap.)
     
    beejaysea, Nov 10, 2007 IP