Google Webmaster Tools

Google Webmaster Tools

by John Vincent


Posted on March 01, 2017



This is part of a series of discussions regarding Deploying to a Digital Ocean Droplet. For more details, please see Overview of johnvincent.io website

Google Webmaster Tools

Google Webmaster Tools

Domain

Domain is

www.johnvincent.io

Please note this is a choice. I chose to use www. as this is mostly what people expect to see. Personally I would prefer to use

johnvincent.io

but that may be confusing to people who are used to .com domains.

I configured Nginx to redirect

johnvincent.io
to
www.johnvincent.io

Add a Site

Website is

www.johnvincent.io

Open Google Webmaster Tools

  • Add a Property
  • Website, www.johnvincent.io
    • Add

Repeat steps below also for

  • Add a Property
  • Website, johnvincent.io
    • Add

Verify your ownership of the domain.

There are many different options.

HTML file upload

Select HTML file upload

Tool has 4 steps

  1. Download the verification file [google9104b904281bf3a3.html]
  2. Upload file to www.johnvincent.io/google9104b904281bf3a3.html
  3. Confirm successful upload
    • https://www.johnvincent.io/google9104b904281bf3a3.html
  4. Verify

HTML tag

  • Copy meta tag to site’s home page

Added to index.html

<meta name="google-site-verification" content="<your own tag>" />
  • Verify

Domain Name provider (optional)

  • Domain Name provider
    • Google Domains
  1. Add the TXT record below to the DNS configuration for johnvincent.io.google-site-verification=t541b51i2vyIyUl2NSxJvc46YwyLrUSRMuWmJcz2UzI

To do this with Google Domains, add the following record

Name: @
Type: TXT
TTL: 1h
Data:
google-site-verification=t541b51i2vyIyUl2NSxJvc46YwyLrUSRMuWmJcz2UzI

Site Settings

From Search Console

  • Select: www.johnvincent.io
  • Site Settings (gear icon)
    • Preferred domain: display URLs as www.johnvincent.io

Crawl Settings

  • Crawl (left menu)
    • Sitemaps
    • Add/Test Sitemap
    • select: www.johnvincent.io
    • Add/test sitemap
    • https://www.johnvincent.io/
      • sitemap.xml
    • press Submit

Robots

Add file

https://johnvincent.io/sitemap.xml

Contents

Sitemap: https://www.johnvincent.io/sitemap.xml