• Resolved b1gft

    (@b1gft)


    I am trying to verify my site with google.
    They have said I have to copy and paste the following line.

    Copy the meta tag below, and paste it into your site’s home page. It should go in the <head> section, before the first <body> section.
    <meta name=”verify-v1″ content=”h+kBXIgekCCDbSWyZ+jVGQ3LXeZbPnUZOIyZeQTQA04=” >

    The example they gave is as follows
    <html>
    <head>
    <meta name=”verify-v1″ content=”h+kBXIgekCCDbSWyZ+jVGQ3LXeZbPnUZOIyZeQTQA04=” >
    <title> My title </title>
    </head>
    <body>
    page contents
    </body>
    </html>

    Where excactly do I put this line. I went to my home page through the dashboard and hit the HTML button and it was not the same code as Google shows in there example.
    I went to the header in the theme file and again it has not got the same code.
    I want to put the code in the right spot, as I dont want to mess up my site,
    Thanks for your help

Viewing 12 replies - 1 through 12 (of 12 total)
  • Just add the..
    <meta name="verify-v1" content="h+kBXIgekCCDbSWyZ+jVGQ3LXeZbPnUZOIyZeQTQA04=" > between the <head> and </head> in your theme header.php …

    Should be fine.. 🙂

    Thread Starter b1gft

    (@b1gft)

    Thanks a million, I could not copy and paste so I typted it in. Hit verify but Google said they could not find it. They said I should put it into my welcome page.
    Please have a look at what they say, and if you can put me in the right direction, Thanks

    Is the meta tag on the correct page? We look for it on your site’s home page. This is the page that your server returns when someone requests your site (such as http://www.example.com/). This page is often named index.html or index.htm, but could be named differently, depending on your server’s configuration.

    Yes, your theme header is loaded on the main page, that’s why you stick it there… 😉

    If the code above is what they gave you to put there, then i can’t see what’s wrong…

    Thread Starter b1gft

    (@b1gft)

    My problem is I can not copy and paste the code. When I try all the code turns blue. I tried it and the only line that was left on the code page, was the varify code. Needless to say I did not update that page.

    If I write the code it, which I have, there is a lot of O (is this zero or the letter O) Like wise I (one or the letter I) So that is why the code is not right when I put it in.

    Anyone know how I can copy and paste without the whole code been deleated.

    Errrmmm…

    The last time I got asked by Google to verify that I owned my website (I forgot my admin password to my Google Aps and needed it reset! GAH!), I was instructed to upload a simple html page entitled someweirdnumberandlettercombo.html to my domain and that was it.

    Do you have that option? That just might be easier for you to do if you have trouble/can’t copy and paste properly.

    Also, have you tried copying the code and pasting it into Notepad first? I’m not quite sure what you mean when you said it turned blue. WHICH turned blue? The Google page the code was on or your WordPress theme code?

    Also, if you’re using WordPress 2.8, when you’re working in Theme Editor, on the Edit Themes page, click on Screen Options and click on ‘Enable Syntax Highlighting’.

    If you’re having trouble pasting code into Theme Editor using WordPress 2.8, turning off the syntax highlighting and such may solve your problem.

    I have it turned off for my own WP.

    Thread Starter b1gft

    (@b1gft)

    Hi EMG,
    that was a great suggestion it worked that I could copy and paste,
    but Google still saying its not verified.
    I put the code in the “Header” (Header Php) file

    Please see example

    <?php wp_head(); ?>
    </head>
    <meta name=”verify-v1″ content=”h+kBXIgekCCDbSWyZ+jVGQ3LXeZbPnUZOIyZeQTQA04=”
    <body>
    <!–wrapper–>

    Have I put it in the right file and have I put it in the right line.

    Any help would be great,
    thanks

    Okay. Good to know the copy and paste worked! But you put the code in the wrong place. Remove the code you inserted and let’s get it put in the right place. 🙂

    Look for a code in your header.php file that looks like this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    It will be the first few lines of your header.php file.

    RIGHT BEFORE the <title> which probably looks like this: `
    <title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title>` is where you need to insert your Google code.

    Thread Starter b1gft

    (@b1gft)

    Thanks a million EMG.
    It worked.
    If ever your in Ireland gave me a shout, I owe you a pint or two.
    Thanks again

    🙂 A pint is always a good thing so thank you, I’ll keep in mind your offer if I’m ever in Ireland! I’m glad we managed to help you get things figured out and verified!

    lol, i did say to put it between the <head> and </head> elements in my first response… 😉

    Glad you got it sorted anyway… 😉

    p.s. I used the same method as EMG, upload a file (some random name “8y9hug31.html”) for example etc… open FTP, drop in file, load page, done… 🙂

    I had the same prob verifying.

    @emg, your posts were helpful. Thanks. It works now.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How to verify with Google’ is closed to new replies.