Skip to content
ajqureshi.com logo

How to Verify Your Website in Google Search Console (Step by Step)

How to verify a website in Google Search Console

AJ Qureshi 4 min read Updated 22 Nov 2026

Google Search Console is a free tool that shows how Google sees your website: which keywords bring clicks, which pages are indexed, and what errors stop pages from ranking. Before you can use it, you must prove you own the site. This is called verification. In this guide I show every method, which one to choose, and how to fix the common errors.

Domain property vs URL prefix property

When you add a site, Search Console asks you to pick a property type:

  • Domain property: covers everything on the domain, including http, https, www, non-www and all subdomains. It can only be verified with a DNS record. This is the best choice if you can edit DNS.
  • URL prefix property: covers only the exact address you enter, like https://example.com/. It can be verified with several methods, including an HTML tag or file.

My advice: use a Domain property if you have access to your DNS. Use URL prefix when you cannot edit DNS, for example on some managed platforms.

Method 1: DNS TXT record (best)

  1. Open Search Console, click Add property and choose Domain.
  2. Enter your domain without https or www, for example example.com.
  3. Google shows a TXT record that starts with google-site-verification=. Copy it.
  4. Log in to your domain registrar or DNS provider (Dynadot, Namecheap, Cloudflare, or your host’s cPanel Zone Editor).
  5. Add a new TXT record. Host or name: @. Value: the code you copied.
  6. Save, wait a few minutes, then click Verify.

DNS changes can take from a few minutes up to 48 hours. You can check if your TXT record is live with my free DNS Records Checker.

Method 2: HTML meta tag

This works with a URL prefix property.

  1. Add a URL prefix property with your full address, like https://example.com/.
  2. Choose HTML tag. Google gives you a tag like <meta name="google-site-verification" content="...">.
  3. Paste it inside the <head> section of your home page.
  4. Clear your cache, then click Verify.

Adding the tag in WordPress

  • SEO plugin: Rank Math, Yoast and most SEO plugins have a “Webmaster tools” or “Site connections” box. Paste only the content code there.
  • Theme setting: many modern themes have a header code or verification field.
  • Header code plugin: a small plugin like WPCode can add the tag to the head.
  • Theme file: you can add it to header.php just before wp_head(), but a theme update can remove it, so a plugin or theme option is safer.

Method 3: HTML file upload

  1. Choose HTML file and download the file Google gives you.
  2. Upload it to your site’s root folder (public_html) using cPanel File Manager or FTP.
  3. Open https://example.com/google-xxxx.html in your browser to confirm it loads.
  4. Click Verify.

Method 4: Google Analytics or Tag Manager

If your site already has Google Analytics (GA4) or Google Tag Manager installed with the same Google account, Search Console can verify you automatically. It is quick, but if you remove the tracking code later, verification can break.

After verification: first 5 things to do

  1. Submit your sitemap under Sitemaps. Most WordPress sites use /sitemap.xml, /wp-sitemap.xml or /sitemap_index.xml. Check yours with my XML Sitemap Checker.
  2. Inspect your home page with the URL Inspection tool and request indexing.
  3. Check the Pages report to see which pages are indexed and why others are not.
  4. Check Core Web Vitals and mobile usability.
  5. Add a second owner under Settings, Users and permissions, so you never lose access.

Common verification errors and fixes

“Verification token not found”

Your cache is showing an old version of the page. Purge the cache in your cache plugin, CDN or host panel, then try again.

DNS record not found

Wait longer, make sure the record is TXT, the host is @, and there are no extra spaces or quotes. If your nameservers point to Cloudflare, add the record in Cloudflare, not at your registrar.

Wrong property version

For URL prefix, http and https are different properties. Make sure the address you added matches the one your site really uses.

Verification lost later

Google checks again from time to time. Keep the tag, file or DNS record in place forever. Removing it can remove your access.

FAQ

Is Google Search Console free?

Yes, it is completely free.

Does verification improve rankings?

No. Verification only gives you access to data and tools. But using that data to fix issues can improve rankings.

How long does Google take to show data?

Data usually starts showing within a few days of verification.

Should I also verify in Bing?

Yes. Bing Webmaster Tools can import your site directly from Search Console in one click, and Bing data also powers some AI search tools.

Written by AJ Qureshi

Web developer and blogger from Ghizer, Gilgit-Baltistan. I build WordPress themes, plugins, Chrome extensions and free tools, and I write plain guides on hosting, domains and running a website.