How to Connect Your Website to Google Search Console (Step-by-Step Guide)

A step-by-step guide to connecting your website to Google Search Console: choosing a Domain or URL prefix property, verifying with DNS or an HTML tag via Yoast, submitting your sitemap and the reports worth checking.

How to connect your website to Google Search Console step by step

Hi everyone, it’s me again. In my post What is SEO?, the first task on the basic SEO list was connecting your website to Google Search Console. Today I’ll go through it in detail, step by step: how to connect your website to Google Search Console, how to submit your sitemap and which reports are worth checking.

Think of Search Console as Google’s “dashboard” made especially for website owners. It tells you whether Google has found your website, which keywords people searched to reach you, and which pages have problems. The tool is completely free, and you only need to set it up once.

What is Google Search Console?

Google Search Console (formerly Google Webmaster Tools) is a free Google tool that helps website owners:

  • See how many pages on the site have been indexed by Google, which ones haven’t, and why.
  • Find out which keywords people searched when they saw your website, how many impressions and how many clicks you got.
  • Submit a sitemap so Google finds new posts faster.
  • Get alerts when the site has errors, is slow on mobile or has security problems.

To use it, you have to prove that you own the website. This step is called ownership verification.

Choosing a property type: Domain or URL prefix?

Comparing the Domain and URL prefix property types in Google Search Console

When you add a website, Search Console asks you to choose one of two types:

DomainURL prefix
What you entertuananhweb.nethttps://tuananhweb.net/
Data coveredEverything: http, https, www, subdomainsOnly the exact address you entered
How to verifyOnly one way: add a DNS recordSeveral ways: HTML tag, HTML file, Google Analytics, Tag Manager
Best forPeople who manage the domainPeople who only manage the website

The Domain type collects data from every version of your website, so it’s more complete, but it can only be verified with a DNS record. The URL prefix type is easier to verify because there are several methods. If you can do both, choose Domain. If someone else controls your domain, choose URL prefix to get it done quickly.

Method 1: Verify with a DNS record (Domain property)

  1. Go to search.google.com/search-console and sign in with your Google account (use your business’s account, not your web developer’s).
  2. Click Add property, choose the Domain box, enter your domain without https and www, for example tuananhweb.net, and click Continue.
  3. Google shows a code starting with google-site-verification=. Click Copy.
  4. Sign in to your domain management panel (where you bought the domain, or Cloudflare if you’ve moved your nameservers there). Find the DNS management section.
  5. Add a new record: type TXT, name (host) @, and paste the code you just copied as the value, then save.
  6. Go back to Search Console and click Verify. If it says the record wasn’t found yet, wait a while and try again, because DNS records can take anywhere from a few minutes to a few hours to update.

If DNS records are new to you, read my post what is a domain name and how DNS works. Working in the DNS management panel is exactly the same as when you point your domain to your hosting.

Method 2: Verify with an HTML tag via an SEO plugin (URL prefix property)

For WordPress websites, this is the easiest method because you don’t have to edit any code:

  1. In Search Console, click Add property, choose URL prefix and enter the full address with https, for example https://tuananhweb.net/.
  2. Among the verification methods, open HTML tag and copy the tag that looks like <meta name="google-site-verification" content="...">.
  3. Go to your WordPress dashboard. If you use Yoast SEO: go to Yoast SEO → Settings, find Site connections, paste it into the Google box and save. If you use Rank Math: go to the Webmaster Tools section and paste it into the Google Search Console box. The plugin automatically extracts the part of the code it needs.
  4. Go back to Search Console and click Verify.

Note: leave this tag in place after verifying. If you remove the plugin or delete the tag, Google will treat you as no longer being the site’s owner.

Also, if your website already has Google Analytics or Google Tag Manager installed with the same Google account, you can choose that method and verify with a single click. The Site Kit by Google plugin can do this for you automatically too.

Submitting your sitemap to Google

A sitemap is a list of all the posts and pages on your website, which helps Google find new posts faster. Your SEO plugin has already created one for you:

  • Yoast SEO and Rank Math: usually yourdomain.com/sitemap_index.xml
  • WordPress without an SEO plugin: yourdomain.com/wp-sitemap.xml

Open that address in your browser; if you see a list, it’s working. Then in Search Console, go to Sitemaps in the left menu, enter the last part (for example sitemap_index.xml) and click Submit. Once the status says Success, you’re done.

Reports worth checking in Search Console

Google Search Console reports worth checking for a small website

Search Console looks a bit confusing at first, but a small website really only needs to get familiar with the 5 main sections below, plus the security section:

1. Performance

Shows how many impressions and clicks your website gets on Google, along with the click-through rate and average position. Switch to the Queries tab to see what people typed when they found you. It’s a great source of post ideas: a keyword with lots of impressions but few clicks means you should rewrite the title and description to make them more compelling.

2. URL Inspection

Paste a page’s link into the search box at the top to see whether it has been indexed. When you’ve just published a new post or made important edits, you can click Request indexing so Google visits sooner. Only use it for a few important posts; there’s no need to click it for every post.

3. Pages (Indexing)

Lists which pages are on Google, which aren’t, and why. Don’t panic if you see lots of pages marked “not indexed”: most of them are tag pages, pagination pages or redirects, and they don’t matter. Just check whether any important posts or service pages are on the not-indexed list.

4. Sitemaps

This is where you submitted your sitemap above. Check in now and then to make sure the status is still Success and the number of discovered pages grows as you add new posts.

5. Core Web Vitals

Shows which pages Google rates as slow on mobile or desktop, based on real user data. If any pages are marked “poor”, take another look at my post on improving page speed.

In addition, the Security issues and Manual actions sections will tell you if your website has been hacked or penalized by Google. Normally, both being empty is a good sign. If there’s a warning, see my post on WordPress security basics to learn how to deal with it.

Common verification errors

  • The DNS record hasn’t updated yet: wait a few more hours and click Verify again. Check that no extra spaces were added when you pasted the code.
  • The wrong address for a URL prefix property: https:// and http://, with www and without www, count as different addresses. Enter the exact address your website actually runs on.
  • A cache plugin is serving an old version of the page without the verification tag: clear the cache and try again.
  • Verified, then lost it: usually caused by removing the SEO plugin, changing the theme or deleting the TXT record. Add the old code back and you’re fine.

Frequently asked questions

Will connecting Search Console get my website to the top?

Not directly. Search Console doesn’t raise your rankings, but it shows you what problems your website has and what people are searching for, so you can fix the right things. Doing SEO without it is like driving without a dashboard.

How long until I see data?

Usually the Performance report starts showing numbers a few days after verification. A brand-new website can take longer because Google hasn’t indexed many pages yet.

My web developer already set up Search Console. Do I need to do it again?

Ask your developer to add your Google account as an owner, or verify it yourself with another method. A property can have several owners. This is also something you should do when you receive your website at handover, so you don’t lose access later.

How is Search Console different from Google Analytics?

Search Console tells you what happens on Google: what people search for and where you appear. Google Analytics tells you what happens on your website: which pages people view, how long they stay and where they come from. The two tools complement each other; for a small website, start with Search Console first.

Wrapping up

Connecting your website to Google Search Console only takes about 10 to 15 minutes, and you’ll use it for as long as you have the site. In short: choose the right property type, verify with DNS or an HTML tag via your SEO plugin, submit your sitemap, and check the Performance report once a week.

If you have a shop or serve customers in a particular area, your next step should be to get your business on Google Maps. And if you’d like me to set up Search Console for you, just send me a message. Take care, everyone!

Tuan Anh Dev
Written by Tuấn Anh Lập trình viên web tự do, đam mê tìm hiểu về code trong thời đại AI này =)))
Về mình

Bạn có thể thích

View all post

Comment

No comments yet. Be the first to comment!