PDA

View Full Version : Google Code to Verify Site Ownership


SergeF
04-16-2007, 09:38 AM
Hi all,

Some directory owners are very curious about where to put the google code to verify site ownership. So I've decided to share the utility in this forum. Some info has been taken from the google wembasters tools page, so please, do not think it's like a plagiary or something like this since it was made for reasons of convinience.

To add a code, perform the following steps:

1. Sign into Google webmaster tools (http://google.com/webmasters/sitemaps/siteoverview) with your Google Account.
2. On the My Sites page, type the site URL in the "Add site" field. Make sure you type the entire URL, such as "http://www.domain.com/" and click "OK"
3. Click the "Verify your site" link.

Google offers two methods of verification. You can either upload an HTML file with a name we specify, or you can add a META tag to your site's index file.Choose "Add a meta tag" method from the dropdown list.

4. FTP to your site, get in templates/Your_current_template/ and search header.tpl file.
5. Copy the META tag and paste it in header.tpl file in the first <HEAD> section of the page, before the first <BODY> section. You can include it like this:

<meta name="description" content="{$description|escape:"html"}" />
<meta name="keywords" content="{$keywords|escape:"html"}" />
<meta name="verify-v1" content="LeoNreP9T6iUF+kF1xnQDxADeHz+ZVhy9gqcwmk=" />

<script type="text/javascript" src="{$templates}/js/jquery.js"></script>

</head>
<body>
6. When done save changes and switch to you Webmasters Tools page and click the "Verify" button on it.


That's all. :)

Simon Gooffin
04-17-2007, 06:29 AM
Serge, could you please explain why you might need to verify ownership? What kind of information can you see about the site?

dotcomdesigns
04-17-2007, 01:21 PM
Serge, could you please explain why you might need to verify ownership? What kind of information can you see about the site?

You get access to a lot more stats if you verify your site. You'll see all Google's crawl stats through your site, errors, link backs, page ranking, last time Google downlaoed your site map and so on. I presume you have to verify your site so as to prove your are the owner. Otherwise you could access competitors sitemap results easily.

Google give you 2 options to verify your site. Either by adding their code to your meta tags on your home page or by uplaoding a blank html page saved with a unique url provided by Google. I chose the latter and my site was verified immediately and crawled within an hour or so.

Simon Gooffin
04-18-2007, 05:28 AM
Cool, thanks Phil. I did not know that.. I will verify my sites right now

SergeF
04-19-2007, 10:47 AM
thank you dotcomdesigns :)

just wanted to add that once you have verified your site you get info on URLs that had trouble crawling and why they couldnt be crawled. Also Google provides info on search queries that return your site in results. I'm sure the second is very useful for SEO things.

Simon Gooffin
04-24-2007, 10:53 AM
Cool. I have added this verification for 6 sites of mine ;) Now checking them. I love the feature to show broken urls (404, etc.). Removed them from my site index and now have only good pages

dotcomdesigns
04-28-2007, 02:04 PM
I have some 404 errors in my sitemap. How do I remove the broken url's?

fobvip
05-01-2007, 03:58 AM
Just goto your website and fix the urls or delete them if other people submited them?

Simon Gooffin
05-01-2007, 05:07 AM
Just goto your website and fix the urls or delete them if other people submited them?
Completely agree with this post. I'm not sure it's a good idea to have broken links in your directory.

bearaman
10-01-2008, 05:40 PM
Great info - just what I was looking for. Thanks!

Simon Gooffin
10-06-2008, 05:49 PM
What if we make a plugin to put that information from admin panel? :) How do you think - would it be useful?

skizz
10-08-2008, 05:57 PM
I would like that. Or it should be in the core.

mybusca.com
10-09-2008, 07:27 AM
Thanx for info.

Sergey Ten
10-10-2008, 10:06 AM
Hi folks,

I have just updated the plugin. Now you can download new version (1.1) of the plugin.

Btw we have renamed plugin to "Google Tools".