,

How to Verify a WordPress Site in Google Search Console (5 Methods)

Verify WordPress site in Google Search Console

Google Search Console is the free tool that shows how your site appears in Google: which queries bring clicks, which pages are indexed, what is broken, and whether Google has any complaints about speed, mobile usability, or security. Before it shows you anything, you have to prove you own the site. This guide covers every way to verify a WordPress site in Search Console in 2026, from the one-click method with Rank Math or Yoast to DNS verification for a whole domain.

Which Property Type Should You Add?

Search Console offers two property types, and the choice matters:

  • Domain property (recommended): covers every version of your site at once, http and https, www and non-www, and all subdomains. Verified only through a DNS record at your domain registrar.
  • URL prefix property: covers one exact address, for example https://example.com/ only. Verified by HTML tag, HTML file, Google Analytics, or Google Tag Manager. Quicker if you cannot edit DNS.

If you can log in to your domain registrar, add a Domain property. Otherwise add a URL prefix property with your exact site address (check it in WordPress under Settings > General).

Add property in Google Search Console

Method 1: Verify With an SEO Plugin (Easiest)

This uses the HTML tag method without touching any code. It works for a URL prefix property.

  1. Go to Google Search Console, sign in, and click Add property. Choose URL prefix, enter your full site address including https://, and click Continue.
  2. Under Verification methods, open HTML tag. You will see a line like the one below. Copy only the long string of letters and numbers inside content="...".
  3. In WordPress, paste it into your SEO plugin: Rank Math: Rank Math > General Settings > Webmaster Tools > Google Search Console. Yoast SEO: Yoast SEO > Settings > Site connections > Google. Save.
  4. Back in Search Console, click Verify.
<meta name="google-site-verification" content="AbC123xyz..." />
Ownership verified in Google Search Console

If verification fails, clear your cache plugin and CDN cache, view your homepage source, and check that the tag is present in the head section. Leave the tag in place permanently; removing it un-verifies the property.

Method 2: Verify With Site Kit by Google

Google’s own Site Kit plugin verifies Search Console for you during setup: install it, click Sign in with Google, and approve the permissions. It also creates the property if needed and shows Search Console and Analytics reports inside the WordPress dashboard. Use this if you do not have an SEO plugin or want the reports in WordPress.

Method 3: DNS Verification for a Domain Property

This is the only way to verify a Domain property and the most durable method, since it does not depend on a plugin or a file.

  1. Add a Domain property in Search Console and enter your bare domain (example.com).
  2. Copy the TXT record Google shows, which starts with google-site-verification=.
  3. Log in to where your DNS is managed (your registrar such as Namecheap or GoDaddy, or Cloudflare if you use it), open DNS settings, and add a new TXT record with host @ and the copied value.
  4. Wait a few minutes (occasionally up to a day) and click Verify.

Method 4: HTML File Upload

Download the verification file from Search Console and upload it to the root folder of your site (public_html for most hosts) using cPanel File Manager or FileZilla. The file must be reachable at yourdomain.com/googleXXXX.html. Then click Verify. It works, but the plugin and DNS methods are easier and survive a migration better.

HTML file upload verification

Method 5: Google Analytics or Tag Manager

If Google Analytics or Google Tag Manager is already installed on your site with the same Google account, choose that option and click Verify. Nothing else is needed. Analytics requires the gtag.js snippet in the head; Tag Manager requires the container snippet and publish permission on the container.

What to Do After Verifying

  • Submit your XML sitemap (Rank Math and Yoast generate one at /sitemap_index.xml).
  • Check Pages under Indexing for pages Google could not index and why.
  • Review Core Web Vitals and HTTPS reports under Experience.
  • Add other users (Settings > Users and permissions) instead of sharing your login.
  • Repeat on Bing Webmaster Tools, which can import your Search Console properties in one click.

Frequently Asked Questions

Do I need to verify both www and non-www?

Not with a Domain property; it covers all variants. With URL prefix properties you would need one for each version you want data for, which is why the Domain property is recommended.

Why does Search Console say verification failed?

Most often a caching plugin is serving an old copy of the page without the tag, the tag was pasted with the full meta line instead of just the code, or the site address does not match exactly (http vs https, trailing slash). Clear caches and check the page source.

Can I remove the verification tag after verifying?

No. Google rechecks periodically, and removing the tag, file, or DNS record will eventually revoke access.

Is Google Search Console free?

Yes, completely free, with no limits on the number of sites you can add.

Comments

18 responses to “How to Verify a WordPress Site in Google Search Console (5 Methods)”

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Favour Abalogu Avatar
    Favour Abalogu

    Hi Istiak,

    Thanks for this in-depth guide.

    After trying all methods without success, I ended up verifying my website using the “html file upload” method.

    Jetpack and Yoast couldn’t do the placement. I guess my theme didn’t allow it.

    Thanks for sharing this, Istiak. It was useful.

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      Glad I could help. Let me know if you need any other help.

  2. Carla Avatar
    Carla

    I have switched over to a wordpress.org blog from weebly and am trying to get it verified.I have copied the meta tag in Yoast and saved but each time I go back to verify I get:
    We weren’t able to verify your property: http://havingthecouragetobelievedifferently.com/.
    I am not a techie at all and thought initially that maybe it had something to do with me using my old dinasour dell computer but I have recently just purchased a brand new pc and just tried it and got same message.I have read somethings about google suite and am wondering do I have to pay for some kind of service to get this done :-O. So frustrated. Hope you can advise!

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      I believe it can be done by following above tutorial. But if you cannot do it by your own, you can take help from WP Fix It. Use the coupon RTBSAVE to save $5.

  3. Arif Avatar
    Arif

    Thanks for Helpful Post. I just Verified my New Blog on Google Webmaster Tools by HTML Tag.
    Keep Writing Helpful Post. Regards,

  4. Ataur Rahman Avatar
    Ataur Rahman

    Thank you for your helping information and nice solution. One of the best articles about Google Webmaster tools.

    Best Regards,
    Ataur

  5. Rabbi Avatar
    Rabbi

    This is very helpful post for new like me.
    Thank you

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      Glad I could help.

  6. Riyadkhan Avatar
    Riyadkhan

    Thank you very much for Post.
    But how to Track my WordPress free Blog With Google Analytics?
    Thank you..

    Regards,

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      I don’t know how to do it on Free WordPress blog :(

  7. Blogs Tutorials Avatar
    Blogs Tutorials

    Is it possible for my site ……… http://rhmpost.wordpress.com/

    1. Istiak Rayhan Avatar