WordPress.org

Support

Support » How-To and Troubleshooting » Google Webmaster Tool

Google Webmaster Tool

  • Exactly where are you supposed to enter the code ? They say into your site’s homepage but exactly which php is that supposed to be ?

    Here are the instructions given;

    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.

Viewing 15 replies - 1 through 15 (of 24 total)
  • look in your theme’s header.php and you will see the <head> tag
    put it somewhere after that with the other meta tags

    Samboll, I tried what you said and it didn’t work. It said the following;

    We weren’t able to verify your site: http://www.triplecz.com/

    I put it like this;

    <?php wp_head(); ?>
    </head>
    <meta name=”verify-v1″ content=”(number goes here)=” />
    <body>

    <!– Page –>
    <div id=”page”><div id=”page-top”><div id=”page-bottom”>

    <!– Header –>
    <div id=”header”>

    <!– Title –>
    <div id=”header-info”>

    Was this the wrong way to insert it ?

    It must be

    <head>
    .....
    <meta name="verify-v1" content="(number goes here)" />
    </head>

    There isnt an ending </head> tag, here is my header info;

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

    <meta http-equiv=”Content-Type” content=”; charset=” />

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <!– leave this for stats –>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘template_directory’); ?>/style.css” />

    <!–[if IE]>
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘template_directory’); ?>/style_ie.css” />
    <![endif]–>

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

    <!– Page –>
    <div id=”page”><div id=”page-top”><div id=”page-bottom”>

    <!– Header –>
    <div id=”header”>

    <!– Title –>
    <div id=”header-info”>
    <h1>/”></h1>
    <div class=”description”></div>
    </div>
    <!– /Title –>

    <!– Menu –>
    <div id=”header-menu”>

      <?php if (is_home()) { ?>
      <li class=”current_page_item”>/”>Home
      <?php } else { ?>

    • /”>Home
    • <?php } ?>
      <?php wp_list_pages(‘title_li=&depth=-1’); ?>

    </div>
    <!– /Menu –>

    <!– Feed –>

    <!– /Feed –>

    <!– Feed2 –>

    <!– /Feed2 –>

    <!– Feed3 –>
    <div id=”header-feed1″>

    </div>
    <!– /Feed3 –>

    </div>
    <!– /Header –>

    <!– Main –>
    <div id=”main”>

    there won/t be an ending </head>in the header – that is in footer.php
    Code should work where you placed it.
    ??

    I dont know why this is happening, I read the following page also; http://www.google.com/support/webmasters/bin/answer.py?answer=35638&hl=en

    Didn’t change much.

    What if I wanted to use the HTML one, where would the following go ?;

    google(bunch of numbers and letters here).html

    Dbo,

    From the code you posted the ending head tag “</head>” appears just before the “<body>” tag here:

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

    This is correct. What I’m not seeing is a beginning head tag “<head>” so try replacing the beginning of the code with this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <!-- Start the Head Tag Here-->
    <head profile="http://gmpg.org/xfn/11">
    
    <meta http-equiv="Content-Type" content="; charset=" />
    
    <!-- Google Verify -->
    <meta name="verify-v1" content="(number goes here)" />

    Then the rest of the code follows.

    Well doc4, what you said worked perfectly. One thing though, as soon as I put it my wallpapers section which uses the next gen gallery completely stopped working.. :/ any idea why ?

    I reverted back to the old code hoping it would fix the problem but it didn’t. Here’s the new code that I used;

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

    <!– Start the Head Tag Here–>
    <head profile=”http://gmpg.org/xfn/11″>

    <meta http-equiv=”Content-Type” content=”; charset=” />

    <!– Google Verify –>
    <meta name=”verify-v1″ content=”(number goes here)=” />

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <!– leave this for stats –>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘template_directory’); ?>/style.css” />

    <!–[if IE]>
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘template_directory’); ?>/style_ie.css” />
    <![endif]–>

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

    <body>

    <!– Page –>
    <div id=”page”><div id=”page-top”><div id=”page-bottom”>

    <!– Header –>
    <div id=”header”>

    <!– Title –>
    <div id=”header-info”>
    <h1>/”></h1>
    <div class=”description”></div>
    </div>
    <!– /Title –>

    <!– Menu –>
    <div id=”header-menu”>

      <?php if (is_home()) { ?>
      <li class=”current_page_item”>/”>Home
      <?php } else { ?>

    • /”>Home
    • <?php } ?>
      <?php wp_list_pages(‘title_li=&depth=-1’); ?>

    </div>
    <!– /Menu –>

    <!– Feed –>

    <!– /Feed –>

    <!– Feed2 –>

    <!– /Feed2 –>

    <!– Feed3 –>
    <div id=”header-feed1″>

    </div>
    <!– /Feed3 –>

    </div>
    <!– /Header –>

    <!– Main –>
    <div id=”main”>

    If it helps any, the gallery plugin requires me to call in the footer in footer.php with the following;

    <?php wp_footer(); ?>

    I hope we can fix this problem..

    bump for a possible solution to this…

    dbo,

    Sorry for the late response. I checked the site and the gallery seems to be working in Firefox 3. Are you still needing assistance with this. Nice pics by the way.

    I figured the problem, it was the plugin I was using called PHP Speedy WP which was combining JS and CSS together and it playing around with the effects and some other plugins. Thank you so much for the help, and thank you 🙂 One thing if I may ask, if you can look into the following concern I posted;

    http://wordpress.org/support/topic/312826?replies=6

    Where do I find the header. I am fairly new to WordPress, just coming over from WordPress.com.

    Thanks so much!

    in your theme. You can edit the header of the active theme by selecting header.php from the appearance->editor menu

    Thanks, RVoodoo! I will try to edit it.

    I only have “editor” under appearance. When I go to it there is CSS code. I have no idea what to edit. Any advice would be appreciated.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Google Webmaster Tool’ is closed to new replies.