google webmaster tools

Permalink
this may be something really easy for you. i am new doing this kind of things, so i need some help.

i signed in google webmaster tools and tried to add my website there, i couldn't because i don't know how to see my home page's html code so that i can paste the meta tag there.
here is the description google says;

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.

<meta name="verify-v1" content="jtZ7JBrk+1Nx9V3jrqAFqlC4l2sVKJsjjVMnhQOZtjo=" />

Show me an example

<html>
<head>
<meta name="verify-v1" content="jtZ7JBrk+1Nx9V3jrqAFqlC4l2sVKJsjjVMnhQOZtjo=" />
<title> My title </title>
</head>
<body>
page contents
</body>
</html>

ceyhuncenger
 
frz replied on at Permalink Reply
frz
we added a custom attribute (from page properties) that is called custom meta i think, and it sticks whatever you tell it into the heads of the template. The only challenge is not all of the templates honor it.

if that doesnt work, you can edit header.php in your themes directory (for the theme you're using) or even easier, use the blank HTML file in root option for validating google webmaster
bcarone replied on at Permalink Reply
bcarone
If you go into your dashboard and take a look at the page attributes. Go to sitemap than single click and select properties. Go to Custom Field tab and you can paste your google tags there. You would need to add a meta name field and then paste your code.

Bill
ceyhuncenger replied on at Permalink Reply
ceyhuncenger
i tried all the possibilities, it did not work. :(

here is the meta name from google;
<meta name="verify-v1" content="jtZ7JBrk+1Nx9V3jrqAFqlC4l2sVKJsjjVMnhQOZtjo=" />

now which part of this is meta title? which part of this is meta description?
and finally which part of this is meta keywords?
frz replied on at Permalink Reply
frz
that field in the dashboard lets you put google analytics code in the content, not a header tag.

the whole string from < to > is the meta tag you need to add.
adding it to the title won't help. you need to add it to header extra options. if your template honors that custom field, it should display between the <head> and </head> tag where you need it. If your template doesn't look for that custom attribute and deal with it correctly, you're going to have to add it by hand to the template, or go with the easier option of putting a file in the root as google outlines.
ScottC replied on at Permalink Reply
ScottC
admittedly skimmed this:

in header/head section of your template's code:
<head>
<?php echo($c->getAttribute('google_webmaster_tools')); ?>
</head>
the footer_required is basically for analytics.

This assumes your attribute is a text field and that it is html encoded, both of which I can't verify off the top of my head(my ide is acting up)