Title: Google Webmaster Tool
Last modified: August 19, 2016

---

# Google Webmaster Tool

 *  [Dbo](https://wordpress.org/support/users/dbo/)
 * (@dbo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/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)

1 [2](https://wordpress.org/support/topic/google-webmaster-tool/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/google-webmaster-tool/page/2/?output_format=md)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215293)
 * look in your theme’s `header.php` and you will see the `<head>` tag
    put it somewhere
   after that with the other meta tags
 *  Thread Starter [Dbo](https://wordpress.org/support/users/dbo/)
 * (@dbo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215296)
 * 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/](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 ?
 *  [Nutrawee](https://wordpress.org/support/users/zeally/)
 * (@zeally)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215305)
 * It must be
 *     ```
       <head>
       .....
       <meta name="verify-v1" content="(number goes here)" />
       </head>
       ```
   
 *  Thread Starter [Dbo](https://wordpress.org/support/users/dbo/)
 * (@dbo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215316)
 * 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”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
 *  <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 { ?>
    - 
    -  <?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”>
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215408)
 * there won/t be an ending `</head>`in the header – that is in `footer.php`
    Code
   should work where you placed it. ??
 *  Thread Starter [Dbo](https://wordpress.org/support/users/dbo/)
 * (@dbo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215553)
 * 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](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
 *  [doc4](https://wordpress.org/support/users/doc4/)
 * (@doc4)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215555)
 * 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.
 *  Thread Starter [Dbo](https://wordpress.org/support/users/dbo/)
 * (@dbo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215585)
 * 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”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
 * <!– Start the Head Tag Here–>
    <head profile=”[http://gmpg.org/xfn/11″&gt](http://gmpg.org/xfn/11″&gt);
 * <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 { ?>
    - 
    -  <?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..
 *  Thread Starter [Dbo](https://wordpress.org/support/users/dbo/)
 * (@dbo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215600)
 * bump for a possible solution to this…
 *  [doc4](https://wordpress.org/support/users/doc4/)
 * (@doc4)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215601)
 * 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.
 *  Thread Starter [Dbo](https://wordpress.org/support/users/dbo/)
 * (@dbo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215608)
 * 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](http://wordpress.org/support/topic/312826?replies=6)
 *  [glutenfreerecipebox](https://wordpress.org/support/users/glutenfreerecipebox/)
 * (@glutenfreerecipebox)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215690)
 * Where do I find the header. I am fairly new to WordPress, just coming over from
   WordPress.com.
 * Thanks so much!
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215691)
 * in your theme. You can edit the header of the active theme by selecting header.
   php from the appearance->editor menu
 *  [glutenfreerecipebox](https://wordpress.org/support/users/glutenfreerecipebox/)
 * (@glutenfreerecipebox)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215692)
 * Thanks, RVoodoo! I will try to edit it.
 *  [glutenfreerecipebox](https://wordpress.org/support/users/glutenfreerecipebox/)
 * (@glutenfreerecipebox)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/google-webmaster-tool/#post-1215693)
 * 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)

1 [2](https://wordpress.org/support/topic/google-webmaster-tool/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/google-webmaster-tool/page/2/?output_format=md)

The topic ‘Google Webmaster Tool’ is closed to new replies.

## Tags

 * [tool](https://wordpress.org/support/topic-tag/tool/)
 * [webmaster](https://wordpress.org/support/topic-tag/webmaster/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 24 replies
 * 7 participants
 * Last reply from: [saildude](https://wordpress.org/support/users/saildude/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/google-webmaster-tool/page/2/#post-1215702)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
