How to Set Up Google Search Console for WordPress (Step by Step)
Connect your WordPress site to Google Search Console: choose a property type, verify with DNS or an HTML tag, submit your sitemap and read the first reports.

Quick answer: Go to Google Search Console, add your site as a Domain property and verify it with a DNS TXT record (or add a URL prefix property and verify it with an HTML tag from your SEO plugin). Then open Sitemaps and submit your sitemap address, usually sitemap_index.xml with Rank Math or Yoast, or wp-sitemap.xml without an SEO plugin.
Google Search Console is Google’s free tool that shows how your site appears in Google Search: which pages are indexed, what people searched to find you, and what errors Google found. Every WordPress site should be connected to it on launch day. This guide walks through the setup and the first reports to check.
Domain property or URL prefix property?
When you add a site, Search Console asks you to choose between two property types:
| Domain property | URL prefix property | |
|---|---|---|
| Covers | All versions: http, https, www, non-www and subdomains | Only the exact address you enter, such as https://example.com/ |
| Verification | DNS TXT record only | HTML tag, HTML file, Google Analytics, Tag Manager or DNS |
| Best for | Most sites, if you can edit DNS | When you only have wp-admin access |
If you can log in to your domain registrar or DNS provider, choose a Domain property. If you only have WordPress admin access, use a URL prefix property with the HTML tag method below.
Method 1: Verify a Domain property with DNS
Add the property
Open Search Console, choose Add property → Domain and type your domain without https:// or www, for example example.com.
Copy the TXT record
Search Console shows a value starting with google-site-verification=. Copy it.
Add it to DNS
In your DNS panel (GoDaddy, Cloudflare, your host’s Zone Editor and so on), add a TXT record. Use @ as the name/host and paste the value. Save.
Verify
Go back to Search Console and click Verify. DNS changes can take from a few minutes to a few hours; if it fails, wait and try again.
Method 2: Verify a URL prefix property from WordPress
Use this if you cannot edit DNS.
Add the property
Choose Add property → URL prefix and enter your full address exactly as it loads, including https:// and www if you use it.
Copy the HTML tag
Expand HTML tag and copy the code inside content="...".
Paste it into your SEO plugin
In Rank Math: Rank Math → General Settings → Webmaster Tools → Google Search Console. In Yoast SEO: Yoast SEO → Settings → Site connections → Google. Save.
Verify
Clear your cache plugin’s cache, then click Verify in Search Console.
Google’s own Site Kit plugin can also verify the site and show Search Console data inside WordPress, if you prefer that.
Submit your sitemap
A sitemap lists the pages you want Google to find. WordPress and SEO plugins create one for you:
- Rank Math or Yoast SEO:
https://yourdomain.com/sitemap_index.xml - No SEO plugin: WordPress’s built-in sitemap at
https://yourdomain.com/wp-sitemap.xml
Open the address in your browser first to check it loads. Then in Search Console, go to Indexing → Sitemaps, enter the part after your domain (for example sitemap_index.xml) and click Submit. The status should change to “Success” after Google reads it.
Before you submit: make sure Settings → Reading → Discourage search engines from indexing this site is not ticked. If it is, WordPress asks Google not to index anything.
The first reports to check
| Report | Where | What it tells you |
|---|---|---|
| Pages | Indexing → Pages | Which pages are indexed and the reason others are not |
| URL Inspection | Search bar at the top | Whether one specific page is indexed; lets you request indexing |
| Performance | Performance → Search results | Clicks, impressions, average position and the search queries people used |
| Core Web Vitals | Experience → Core Web Vitals | Speed and layout problems reported by real Chrome users |
| HTTPS | Experience → HTTPS | Pages that are not served securely |
Data starts appearing within a few days of verifying. For a brand-new site, the Performance report may stay almost empty for a few weeks; that is normal.
Request indexing for a new post
After you publish an important post, paste its address into the URL Inspection bar. If it says “URL is not on Google”, click Request indexing. This does not guarantee indexing, but it tells Google the page exists. You don’t need to do this for every post once your sitemap is submitted.
Understanding common “not indexed” reasons
- Crawled – currently not indexed: Google saw the page but chose not to index it yet. Improve the content, add internal links to it, and give it time.
- Discovered – currently not indexed: Google knows about the page but has not crawled it yet. Common on new sites.
- Excluded by ‘noindex’ tag: the page tells Google not to index it. Check your SEO plugin settings for that post or post type.
- Page with redirect and Alternate page with proper canonical tag: usually fine; these are duplicates pointing to the right page.
- Not found (404): a link points to a page that no longer exists. Redirect it to the closest current page.
Frequently asked questions
Is Google Search Console free?
Yes. It is free for any site owner and only needs a Google account.
Do I need Search Console if I already use Google Analytics?
Yes. Analytics shows what visitors do on your site; Search Console shows how your site performs in Google Search before people click, including indexing problems Analytics cannot see.
How long until my site appears in Google?
It varies from a few days to several weeks for a new site. Submitting a sitemap and linking your posts to each other helps Google find pages, but it cannot force indexing.
Should I submit every post’s URL?
No. Submit the sitemap once; it updates automatically when you publish. Use Request indexing only for important new or updated pages.
Sources
- Verify your site ownership (Search Console Help)
- Manage your sitemaps using the Sitemaps report (Search Console Help)
- Page indexing report (Search Console Help)