• Resolved fieldhockeysession

    (@fieldhockeysession)


    Hello,

    i’ve been through all the postings regarding this topic and followed, to the letter, the advice given. However, I still can’t get Google to verify. Below is a copy of the code. I’m under the impressions that I add the verification code between the <head> and <body> tag which I think i’ve done.

    If someone could advise me i’d be very grateful.

    <?php
    /**
    * @package WordPress
    * @subpackage Default_Theme
    */
    ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?>>

    <head profile=”http://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <title><?php wp_title(‘«’, true, ‘right’); ?> <?php bloginfo(‘name’); ?></title>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <style type=”text/css” media=”screen”>

    <?php
    // Checks to see whether it needs a sidebar or not
    if ( empty($withcomments) && !is_single() ) {
    ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg-<?php bloginfo(‘text_direction’); ?>.jpg”) repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
    <?php } ?>

    </style>

    <?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>

    <?php wp_head(); ?>
    </head>

    <meta name=”google-site-verification” content=”9z-sJrF5Lf0pROAicN9urnLR6pdKWMyPHB6Lu2_EACQ” />

    <body <?php body_class(); ?>>
    <div id=”page”>

    <div id=”header” role=”banner”>
    <div id=”headerimg”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>
    </div>
    <hr />

Viewing 4 replies - 1 through 4 (of 4 total)
  • nope…it goes before the </head> tag

    see up here in your header you’ve got other meta stuff
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    just paste it in a new line afetr that

    Installation of a meta-tag verification for google webmaster, you can place it after pingback code, like below on your header.php:

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <meta name="google-site-verification-code" content="String_we_ask_for">

    But if you trouble in the installation of code tags, you can upload the HTML file that has been provided by the Google webmaster to public_html from your blog directory. Will more quickly and efficiently.

    you can upload the HTML file

    yer better off with the meta verification. The html file uplaod frequently fails. Or will lose it’s authentication.

    Thread Starter fieldhockeysession

    (@fieldhockeysession)

    Guys, thanks very much for your help! Issue resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google Webmaster Verification – Help Needed’ is closed to new replies.