Drupal 7 Site Verification Module
Share with Others
An important aspect of running a website is getting traffic from search engines such as Google and Bing. While not all websites receive traffic from search engines, a large majority depend on search engine traffic. One way to help make sure the search engines are adequately crawling and indexing your site is to verify your site on Google Webmaster tools and Bing Webmaster. The Drupal 7 Site Verification module makes verifying your Drupal 7 website on these search engines simple.
In this module you will learn:
- How to verify a site in Google Webmaster and Bing webmaster using the file upload method on a Drupal site
- How to verify a site in Google Webmaster and Bing webmaster using the HTML Meta tag method on a Drupal site
Hello everyone, hello everyone and welcome to another Daily Dose of Drupal, today we’re on Episode Number 75. As always I’m Shane, you can follow me on Twitter @smthomas3, you could also go to codekarate.com and sign up for the newsletter if you haven’t already, you can find me on Google + as well.
Today we’re going to be going over the Site Verification Module. This module basically allows you to authenticate or verify your Drupal website with various search engines. The two ones that we’re going to go over today are Google Webmaster Tools and Bing Webmaster and the reason that you might want to do this is because by verifying with the various search engines they provide metrics, they provide notifications or reports, things like that, they can help you ensure that your site is adequately getting index and crawled by the search engine bots and basically this allows you to ensure that everything is going smoothly, people are going to be able to find your site and that your site is working the way it should at least in the search engines eyes.
It’s really easy … this module is extremely easy to get going with; I already have it downloaded and installed here on the test site. All I’m going to do is I’m going to the module’s page, just scroll down and I’ll show you that I do have the site verification module installed, I can go ahead and click on configure and there’s just one very simple to use interface. Basically you click the add verification button, you select the search engine, we’ll go with Google.
This is going to give you three options for verifying in this case. You can either create a meta-tag which is going to actually add a meta-tag HTML element to the homepage of your website and this one option for verifying with Google, you can upload the verification file that Google allows you to grab or you can just paste in the contents of the file and this module will create it for you.
So there’s three different options. And the way this works I have Webmaster Tools at my Google account opened up here and I created a new site that I am going to verify and obviously I don’t know on this domains so I’m just going to show you the steps, you will of course be able to actually get it to verify assuming your site is live. So after you add a site to Webmaster Tools it’s going to give you this page.
The recommended method is to download this verification file so you can go ahead and click that and as you can see if I opened it up it’s just a little bit of or a little snippet of text, just a simple HTML document so I can go ahead and download that and I could upload it using this right here, I can also take the contents that I saw on other page, paste it in here, grab the document name from here and paste that here and that would work as well or I can use an alternate method here of an HTML tag, you can also use your DNS or your Google Analytics account as well.
Basically if I want to use meta-tag I take this entire line, copy that and I go ahead and just paste it in here up top, go ahead and click Save and now that has now been added. Now in order to get this to work I simply leave this selected, click Verify, Google will do its sting and look at the site and confirm that it is showing up on the homepage. So that’s how simple it is to do or to setup the Google Webmaster Tools.
Bing is pretty much identical. Once you add the domain to your Bing Webmaster account it’s going to have you or give you the ability to play some XML file on your web server and this one is going to be called Bing Site Auth.XML. So instead of an HTML file Bing uses and XML file but it’s the same process.
You can also see that down below it gives you a meta-tag if you’d prefer to use the meta-tag version. I’m going to go ahead and use the XML version and we’ll just going to open that up here and you can see here’s the Bing Site Auth file so I’m going to copy this contents of this file and I will paste it in down here, I will then grab the site name or the filename that needs to be uploaded and I will add that here and then I’ll go ahead and click Save.
Now you can see that Bing has been added, has a verification for Bing Site Auth.XML and of course they will allow me to click on this and actually see it. Google is the same way except that it uses a meta-tag instead of a file and that’s all there is to it. I can come down here on Bing, just go down and click Verify and it will go ahead and go to the verification process.
It doesn’t get much simpler than that, it’s incredibly easy to get set-up. Like I said; this can be very helpful for ensuring that you can verify that the search engine are adequately indexing your site, it’s going to notify you if there’s any crawl areas for your site, it might help you find broken links.
There’s a whole bunch of different reasons you want this especially if you’re depending on search engine traffic. So go ahead and give it a try and let me know if you have any issues or if you have any other suggestions for future videos. Thanks for watching the Daily Dose of Drupal and see you next time.