INDEX.PHP where to insert the Google 'verify' code?

Discussion in 'PHP' started by razor64, Mar 19, 2009.

  1. #1
    Hello

    I have a review site to which is an PHP script.

    I want to insert/add the Google 'verify' code, However after a few failed attempts (a few places were shown to me where to insert the code none worked!) Therfore I am requesting a little help from one of you Guys!

    If any one knows or can help it will much appriciated

    Thanks..
     
    razor64, Mar 19, 2009 IP
  2. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The "upload a file" method is the easiest and most foolproof.
     
    SmallPotatoes, Mar 19, 2009 IP
  3. razor64

    razor64 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ta!

    I will give it a go! if there are any more answers as to 'inserting the code manually please don't hesitate!
     
    razor64, Mar 19, 2009 IP
  4. razor64

    razor64 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Nope!

    Had a go to verify my site using the 'create a HTML' method! did not work ERROR!!!

    We've detected that your 404 (file not found) error page returns a status of 200 (Success) in the header.

    According to Google they said try the 'meta tag' way! GREAT back to where I started>.

    IF there is someone out there who can sort this out please jump in! Its been weeks that I have been trying this and I have another 5 sites to do!

    Surely there's a way to add the verify code to my script INDEX.PHP manually!

    Thanks..
     
    razor64, Mar 19, 2009 IP
  5. ActiveFrost

    ActiveFrost Notable Member

    Messages:
    2,072
    Likes Received:
    63
    Best Answers:
    3
    Trophy Points:
    245
    #5
    It can only be done manually ( straight into your file or including JS from an external file ).
     
    ActiveFrost, Mar 19, 2009 IP
  6. abmathur

    abmathur Member

    Messages:
    211
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #6
    You want to verify the analytic account or insert analytic code from verified website ?

    If its account go the html way ( I know you've tried go again and read instruction very carefully).
    If its code than insert it right before </body> tag on your output page.
     
    abmathur, Mar 19, 2009 IP
  7. razor64

    razor64 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks Guys for all your answers!
    Youve been great!

    Will try again...
     
    razor64, Mar 20, 2009 IP