Google Site Verification with All in One SEO Pack and Google Search Console

Homepage of Google Search Console.
Homepage of Google Search Console.

One of the most popular pages on SemperPlugins.com is ourย Googleย Search Console Verificationย page.ย While our documentationย provides a level of detail sufficient for most webmasters to link and verify their WordPress sites to Google Search Console, it’s a good time to review the process, as Google have added options since our original post.

Google Search Console (previously known as Google Webmaster Tools) is an essential service for youย to manage yourย search engine optimization forย websites and blogs. This Google service can tell youย if Google’s bots encounter errors accessing content, what keywords are being used to discover your sites and blogs, or if youย have duplicate content issues that can affect page rank.ย ย Google Search Console is where you submit your site and your sitemap.xml file,ย so the search giantย can efficiently index your content.

Toย submit aย site to be indexed, youย must first add yourย site to Google Search Console and verify it.ย Google uses a verification process to ensure it can connect to and crawl websites and blogs. When submitting aย site, Google will display several methods to verify. Usually, Google suggests a primary recommendation and a number of alternate methods. We will discuss eachย method, from the easiest method using All in One SEO Pack’s Google Search Console verification field, to the more complex addition of TXT Records in your DNS zone file.

For this tutorial,ย we’ve submitted a dormant domain we’ve had lying around: djmuseum.org. Using a live domain bestย illustrates how to verify a WordPress website withย different methods of verification offered by the Google Search Console, including ourย All in One SEO Pack & Google Search Console verification processes.

Add Property

First, youย must add a property (site) to Google Search Console. To do so, youย must beย logged into Google Search Console with a valid Googleย account. If no properties (sites) have previously been added, the homepage will resolve to an introduction page with a URL field where you canย add your first property, as shown below.

To add a property, youย simply type yourย domain nameย into the textย field provided and clickย the “Add Property” button.

Note: if your site appears with “www” in front of the domain when you view it in a browser, then make sure to include the “www” part in the URL field. If your site appears without the “www” part when you view it in a browser, make sure you do not include “www” in the URL field.

Upon successfully adding your property, Google Search Console will display a recommended methodย to verify yourย site, as well as four different alternateย methods. The recommended method shown may be different for each domain you submit. Google Search Console displays whichever recommended method itย chooses.

Google Analytics Method

In our experience, theย Google Analytics method worksย 100% of the time. Weย conclude this is the easiest method to implement, especially when using All in One SEO Pack plugin.

For this tutorial, we’ll log in to one of ourย Google Analytics accounts and addย aย website as a property to our Google Analytics dashboard. Once logged in, weย navigate to Admin and then focus on the center Property column. From the drop down selector, we’ll clickย Create New Property.

Google Analytics Create New PropertyNext, we’ll fill in the Property details. We’ll enter ourย website name (for this exercise, we simply entered:ย djmuseum.org). Then, we can enter the Website URL.ย We can also chooseย anย Industry Categoryย and ourย Reporting Time Zone. We then click the blue “Get Tracking ID” button to obtain our UA (Universal Analytics) number.

Note: If ourย site is secured with SSL encryption, weย can select “https” from the drop down menu.

Google Analytics Create Property - Details
We can see that Google Analytics has assigned our website a tracking ID beginning with “UA-” followed by a set of numbers: “764366-25.”

Google Analytics UA Tracking ID Assignment

In our WordPress dashboard, we have All in One SEO Pack plugin installed and activated. Weย navigate toย General Settingsย and scroll to the Google Settings section. We enter theย Tracking ID into the text field (the field shows an example value). Once the UA numberย is added, tick the box marked Use Universal Analytics and scroll to the bottom of the General Settings page and clickย Update Options.

All in One SEO Pack has added the required asynchronous tracking code to our site’sย HTMLย inside the <HEAD></HEAD> element. You can see theย code by using the Viewย Page Sourceย feature of any modern web browser.

Now, we’ll go back toย Google Search Console and click the red Verify button. We should be able to successfully verify, because Google can now connect to our site’s asynchronousย tracking code with UA number inserted inย All in One SEO Pack.

Success! Weย can see our site is now verified when Google Search Console displays a “Congratulations” screen, as shown below.

Google Search Console Verfication Successful

HTML Tag Method

Google Search Console verification HTML Tag Option

The second easiest method can also be performed with All in One SEO Pack. However, in our experience, theย HTML Tag method does not always workย or can take up to 24 hours to verify.

Forย theย HTML tag method, Google Search Console provides a string of text in the text field insideย a <meta> tag.ย Weย will need the string of text between the quotations, but not with the quotation marks themselves. Just copyย what’s between the quotes.

In the screenshot above, weย can see this code is: IVHoeKDOfM0-cwVeyA1yaNdRQzlk8-TLpxln5q-cI6s.

Note: This string is unique to this site only.

The text field forces usย to copy everything contained within and not just theย string of text we need. We can use aย text editor to edit the string and take onlyย the characters included inside the quotation marks.

In our WordPress dashboard, underย All in One SEO,ย General Settings,ย scroll down to the Webmaster Verification section. Enter only the string of textย without quotation marksย into the text field. Thenย scroll to the bottom of the page and clickย Update Options.Google Webmaster Tools Webmaster Verification in All in One SEO PackWe then toggle backย to Google Search Console and click the red Verifyย button. And, we get the success message our site is now verified. ย Remember, it can take up to 24 hours for Google to verify a site using this method.

Google Search Console Verfication Successful

Alternate Methods

Again, Google Search Console provides a Recommended and Alternate methods to verify your site. We went over two of the easiest methods, which can be completed with All in One SEO Pack. The other methods are a bit more difficult and require some technical knowledge. ย For this reason we do not recommend these methods unless youย have the technical expertise and are comfortable with more complex tools.

Verify using a TXT Record

This method requires basic knowledge of how to access and update a DNS zone file. We’ll need access to ourย DNS settings manager in ourย account admin of our domain name service provider (i.e. GoDaddy, NameCheap, Enom, Register.com, Network Solutions, etc) or DNS service providerย (i.e. CloudFlare).

We’ve set up a sample account at CloudFlare, a major provider of DNS services,ย to walk through this process. For the purposes of this tutorial, we assume there is a domain name registered with a domain name service provider and access to theย domain’s DNS manager to make the required changes to the zone file. Theย DNS manager panelย should look somethingย like the example CloudFlare DNS zone file manager panel, as shown below.

CloudFlare DNS Records Settings Screenshot

Once we have accessed our DNS zone file manager, we’ll want to keep it at theย ready as a browser tab, so that we can toggle back and forth between the Google Search Console and the DNS manager.

We’ll access our Google Search Console and click into the Recommended method text field (outlined with a red line below).

Note: Remember, Google Search Console may recommend a different method.

With ourย cursor, we highlight and copy the text string provided inside the text field, as shown below.

Screen Shot 2016-02-09 at 11.03.19 PM

We toggle our browser tabย back to theย DNS zone file manager in order to add aย new TXT Record.

Note: Be careful not to change any of the existing records, as weย could disrupt traffic to ourย website, mail server, and other services that require DNS entries.

We’ll clickย the drop down menu and select TXT.

Add TXT Record CloudFlare

Onceย TXT is selected, enter the @ symbol for the Name field. This will populate ourย domain name inย the text field. We’ll ย see thisย in the resulting steps.

Add symbol in name CloudFlare DNS Record

Click in the Destination field, which in our example shows greyed-out “Click to configure” text (it may not say anything in other DNS managers). In our example, a pop-up box appears, but other DNS zone file managers may simply require pasting into the text field itself.

Insert the text string we copied over from the Google Search Console.ย Now click the green Save button.

Note: DNS zone fileย managers from various services may act differently. CloudFlare provides a pop-up box, as shown.

Screen Shot 2016-02-09 at 11.49.26 PM

We’veย set the name and destination in ourย DNS zone fileย manager. We’ll toggle our browser tab back overย to Google Search Console and click the red Verifyย button at the bottom of the page.

Success!ย Google Search Console displays the congratulations message.

Google Search Console Verfication Successful

If Verification Fails

Should verification fail, you will see an error message at the top of the page like the one in the example below. For this tutorial, we changed DNS providers from Sedo, where the domain was parked, to CloudFlare.ย Itย can take DNS serversย around the globe between 24-48 hours to update a new record or change to an existing record. When we were creating this tutorial, we first encountered the “Verification failed…” notification shown below. If you encounter this message, check to see that your domain is pointing to the correct IP address at your host and that your DNS transfer completed, if you transferred DNS responsibility from your domain name service provider to another service.

Google Search Console Verification Failed

HTML File Upload

Anotherย method we could have used to verify ourย site isย HTML File Upload.ย In order to do this, we need to download the HTML file from Google Search Console to our download folder or desktop.

Google Search Console HTML File Upload Method

Once downloaded, we canย upload the file to ourย root web directory where our WordPress files are stored via FTP, SFTP, or using our hosting provider’s cPanel (control panel) upload manager and then click Verify.ย If weย don’t have access to ourย root web directory using any of these methods, we won’t be able to complete site verification. Consult your webmaster, system administrator, or hosting provider for access.

Google Tag Manager

If we’ve exhausted all of ourย options, weย can certainly try the last alternate method using Google Tag Manager. However, this method needs a “container snipper” and manager rights. Using this method goes beyond the scope of this tutorial, as weย have to add the container snippet to ourย theme files.

To learn more about integrating Google Tag Manager with your website, visitย Google Tag Manager Support.

Screenshot of Google Search Console Google Tag Manager Verify Screen
Google Search Console Google Tag Manager Screen

Bing and Pinterest

Both Bing and Pinterest also require Webmaster verification. This tutorial covers Google Search Console only. Learn more about Bing verification and Pinterest verification.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.

author avatar
Tony Zeoli
Tony Zeoli is Director, Digital Marketing for Semper Plugins and All In One SEO Pack. While not managing social media and email communications, Tony loves to DJ on his radio show, the Asheville House Music Society on Ashevillefm.org (103.3-LP FM) in Asheville, NC.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

6 comments on “Google Site Verification with All in One SEO Pack and Google Search Console”

  1. Hi there,
    I was really looking for a detailed step by step guide to do this because I was really confused about doing this.
    Thanks a lot, buddy.
    Keep posting good stuff. Cheers.

  2. Awesome article! Now I get all the different ways to add Search Console to my web page. Thanks a lot!

  3. Thanks for the comprehensive post. Without mincing words, this is yet another masterpiece that will serve as an eye opener for most bloggers.