Title: Adding Google verification code
Last modified: August 20, 2016

---

# Adding Google verification code

 *  [Tizzlr](https://wordpress.org/support/users/tizzlr/)
 * (@tizzlr)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/adding-google-verification-code-1/)
 * Hey there,
 * Looks like my site had some malware that I cleaned up. Now I’m trying to add 
   the google verification code to add the site to my google profile and start the
   process of getting my blog back in good standing with Google.
 * I can’t seem to figure out where to put the Google code: 1dMON)DW4nUh
 * By searching forums, I’ve read that I need to put it betweeen the <head> and 
   </head> tags, but I can’t seem to get it right. Anyone able to help me out? Below
   is the code for header.php
 *     ```
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
   
       <head profile="http://gmpg.org/xfn/11">
       <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
   
       <title><?php bloginfo('name');
       if ( is_single() ) {
       	_e('» Blog Archive', 'minimalism');
       }
       wp_title(); ?></title>
   
       <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
       <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'minimalism'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
       <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'minimalism'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
       <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
   
       <?php wp_head(); ?>
       </head>
       <body>
       <div id="page">
   
       <div id="header">
       	<div id="headerimg">
       		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
       		<div class="description"><?php bloginfo('description'); ?></div>
       	</div>
       </div>
       <hr />
       ```
   

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/adding-google-verification-code-1/#post-3385053)
 * Try adding it just before `<?php wp_head(); ?>`,

Viewing 1 replies (of 1 total)

The topic ‘Adding Google verification code’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/adding-google-verification-code-1/#post-3385053)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
