WordPress setup

How to connect Search Console to WordPress

Search Console is free and only shows data once Google has confirmed that you own the site. For WordPress you can do that in four ways. This guide shows which property type to choose, how each method works, what usually goes wrong, and the two follow-ups that matter: a sitemap and Bing.

By Adem ÇakalPublished 6 sources8 min read
Short answer

If you can edit your domain's DNS, add a Domain property and verify it with a DNS TXT record. It covers every protocol and subdomain, and it does not depend on your WordPress theme or plugins. If you cannot reach DNS, add a URL-prefix property and verify with the HTML tag, or let Site Kit do it. Then submit your sitemap.

Domain property or URL-prefix property

Search Console offers two property types, and the choice decides what data you see.

A Domain property covers all protocols and subdomains. A URL-prefix property covers one exact address. Domain property: example.com http://example.com https://example.com http://www.example.com https://www.example.com https://shop.example.com and any other subdomain Verified once, with a DNS record URL-prefix property https://www.example.com That exact prefix only Not included: http:// version non-www version other subdomains DNS, tag, file, GA or GTM
What each property type covers, as described in Google's verification help. Google adds that child properties you add later, such as a subdomain or a path, are verified automatically with the parent's method.

The practical difference shows up after a move. If you switch from http to https, or from www to non-www, a URL-prefix property for the old address stops seeing the new traffic. A Domain property keeps showing everything.

Which method should you use?

MethodProperty it can verifyWhat you needWhat can make you lose it
DNS TXT or CNAME recordDomain (the only method that does)Access to your domain name provider's DNS settingsDeleting the record. Google says to leave it in place after verification succeeds
HTML tagURL-prefixAbility to add a meta tag to the homepage headA theme change, plugin change or cache layer that drops the tag
HTML file uploadURL-prefixSFTP or file manager access to the site rootDeleting the file; a redirect to a different domain
Site Kit pluginURL-prefix (a verified Domain property is picked up only for a root-level site)A Google account and the plugin installedBlocked verification requests; a change of Google account
Google Analytics or Tag ManagerURL-prefixEdit or publish rights on the Analytics property or containerRemoving the tracking code or container

A verified URL-prefix property that you verify with DNS also verifies the Domain property, according to Google. For most WordPress owners the order of preference is: DNS, then Site Kit, then the HTML tag.

Step by step: DNS TXT record

  1. Open Search Console and choose Add property. Pick Domain and enter your bare domain, such as example.com.
  2. Search Console shows a TXT record value. Copy it.
  3. Log in to wherever your DNS is managed (your registrar or host) and add a TXT record for the root of the domain with that value.
  4. Go back and click Verify. DNS changes can take a day or two, so if it fails, wait and retry before changing anything.
  5. Leave the record in place.

Step by step: HTML tag

  1. Add a URL-prefix property with your exact homepage address, including https and www if you use it.
  2. Pick HTML tag and copy the meta tag.
  3. Paste it into the head of your homepage. Many SEO plugins have a field for webmaster verification codes; use it so the tag survives theme changes.
  4. Clear your page cache, load the homepage, view the source and search for the tag.
  5. Click Verify.

Step by step: Site Kit

  1. Install Site Kit by Google from the plugin directory. It needs WordPress 5.2 or newer and PHP 7.4 or newer, per its plugin page.
  2. Follow the setup and sign in with the Google account that should own the site.
  3. Site Kit adds your site to Search Console during setup. If no property exists, it creates a URL-prefix one. It first tries a virtual HTML file, then an HTML tag.
  4. If you already have a manually verified URL-prefix property, it takes precedence over a Domain property. To switch, open Site Kit, Settings, Connected Services, Search Console and change the property.

Common errors and fixes

  • Tag not found. Google lists a tag missing from the head, on the wrong page or with a typo as causes. On WordPress the usual suspect is a cache or minification plugin serving an older homepage. Purge the cache and view the source again.
  • Verification lost after a theme change. The tag or file was part of the old theme. Re-add it, or move to DNS.
  • www or non-www mismatch. A URL-prefix property is for one exact address. If you verify https://example.com but your site redirects to https://www.example.com, you may see little data. Add the address you actually serve, or use a Domain property.
  • File not found or wrong redirect. For the HTML file, it must be at the root and cannot redirect to a different domain. Same-domain redirects such as http to https are followed.
  • Password protection or maintenance mode. Google lists invalid responses, often from password protection, as a cause. Site Kit's guide names maintenance-mode plugins, firewalls and hosts that block the verification service.
  • Insufficient permissions in Site Kit. Site Kit says this appears when Search Console access is removed or the Google account changes. Reconnect with the account that owns the property.

After verification: submit your sitemap

  1. Find your sitemap address in your SEO plugin's settings and load it in the browser. Our sitemap checker tests it for common problems.
  2. Open the Sitemaps report in Search Console, paste the address in the Add a new sitemap box and submit.
  3. Check the status: Success, Has errors, or Couldn't fetch. Google fetches the file right away, but crawling the listed URLs takes longer.

A sitemap file can hold up to 50,000 URLs and 50 MB uncompressed; larger sites use a sitemap index.

Add Bing Webmaster Tools

Bing Webmaster Tools has an option on its Add a site page to import sites from Google Search Console. You sign in with the Google account that owns the property and choose which sites to bring over. Bing says imported sites are verified automatically and that sitemaps found in your Search Console account are imported with them. Traffic data can take up to 48 hours to appear. If you later revoke Bing's access to your Google account, you will need to reconnect or verify another way. Bing's AI citation data lives in the same tool, covered in our Bing AI Performance report guide.

Once data flows, the CTR benchmark guide and the low-CTR pages finder show what to do with it.

Questions people ask

Should I add my site as a Domain or URL-prefix property?

Choose Domain if you can edit your domain's DNS records. Google says a Domain property includes data for all protocol (http and https) and subdomain variations. A URL-prefix property covers only the exact prefix you enter. Domain properties can only be verified with a DNS record.

Why did Search Console say my ownership was lost after I changed my theme?

If you verified with an HTML tag, the tag lived in the old theme's head section. Google checks from time to time that the verification token is still there and warns you if it is not. Put the tag back, or switch to DNS verification, which does not depend on your theme.

Do I need Site Kit to use Search Console?

No. Site Kit is a plugin from Google that sets up the connection and shows data inside the WordPress dashboard. You can verify and use Search Console without it.

My data says 'gathering data'. Is something broken?

Not necessarily. Site Kit says that message can last up to about 48 hours after a recent connection. If it stays for several days, check that the site is public, the REST API works in Site Health, and that you are looking at the right property.

Sources

  1. Google Search Console Help: Verify your site ownership, accessed 2026-11-12.
  2. Google Search Console Help: Build and submit a sitemap, accessed 2026-11-12.
  3. Site Kit by Google: Search Console documentation, accessed 2026-11-12.
  4. Site Kit by Google: Setup troubleshooting, accessed 2026-11-12.
  5. Site Kit by Google on WordPress.org, accessed 2026-11-12.
  6. Bing Webmaster Blog: Import sites from Search Console to Bing Webmaster Tools, accessed 2026-11-12.