WordPress.org

Ready to get started?Download WordPress

Forums

Can someone please help me enter html verification code from Google in my header (4 posts)

  1. trevorwkend
    Member
    Posted 1 year ago #

    I have read several posts in the forum on how to do this but still have had no luck pasting my google verification code into my header. It either shows up on my website at the top left corner or it doesn't show up at all and I get an error saying it can not be found I have copied and pasted the header code below with the google code where I thought it was supposed to go. Can someone please correct me in where it is supposed to go? Sorry I am very very new a all of this and have been banging my head against word press for years now without understanding it any better than when I started:

    <!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">
    	<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    	<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    	<?php wp_head(); ?>
    	<!--[if IE 6]><link rel="stylesheet" href="css/ie6.css" type="text/css" media="all" /><![endif]-->
    	<script type="text/javascript" language="javascript" src="<?php bloginfo('stylesheet_directory') ?>/js/func.js"></script>
    	<link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory') ?>/images/favicon.ico" />
    </head>googleeb48a48e812f03bd.html
    <body>
    	<div id="page">
    		<div class="shell">
    			<div id="header">
    				<h1 id="logo"><a>">TSR tech support recordings</a></h1>
    				<div class="top">
    					<div class="follow">
    						<a>" class="fb" target="_blank"> </a>
    						<a>" class="ms" target="_blank"> </a>
    						<a>" class="tw" target="_blank"> </a>
    						<a>" class="yt" target="_blank"> </a>
    					</div>
    					<h2 class="news notext">news/updates</h2>
    					<a>" class="rss">Subscribe</a>
    				</div>
    			</div>
    			<div id="container">
    				<div class="btm">
    					<div id="main">

    [In future, please wrap code in backticks]

  2. Keith Burgie
    Member
    Posted 1 year ago #

    There should be more to it than just "googleeb48a48e812f03bd.html"

    The verification code should look more like this:
    <meta name='google-site-verification' content='dBw5CvburAxi537Rp9qi5uG2174Vb6JwH>

    Once you have that, it needs to go inside your <head>. That means between the <head> and </head> tags. You currently have it between </head> and <body>.

    <head>
    <title>Your Title</title>
    <meta name='google-site-verification' content='dBw5CvburAxi537Rp9qi5uG2174Vb6JwH>
    </head>
    <body>
  3. trevorwkend
    Member
    Posted 1 year ago #

    Thanks for the response.

    The google page looked like this:

    Verify your ownership of http://www.techsupportrecordings.com/. Learn more.
    Recommended method
    Alternate methods
    Recommended: HTML file upload
    Upload an HTML file to your site.
    1. Download this HTML verification file. [googleeb48a48e812f03bd.html]
    2. Upload the file to http://www.techsupportrecordings.com/
    3. Confirm successful upload by visiting http://www.techsupportrecordings.com/googleeb48a48e812f03bd.html in your browser.
    4. Click Verify below.
    To stay verified, don't remove the HTML file, even after verification succeeds.
    VERIFY Not now

    When I clicked on the link it autodownloaded an html file that when opened looks like this:

    google-site-verification: googleeb48a48e812f03bd.html

    with nothing else on the page. Do I need to modify it to look like your example above?

  4. Keith Burgie
    Member
    Posted 1 year ago #

    Okay, so you need to take the file that downloaded and upload it into the root folder of your site. After you upload it, it will exist at this link: http://www.techsupportrecordings.com/googleeb48a48e812f03bd.html

    Once you visit the page it will confirm to Google that you are the owner of the site.

Topic Closed

This topic has been closed to new replies.

About this Topic