WordPress

Submit your WordPress sitemap to Google Search Console

Get WordPress indexed: find the built-in or SEO plugin sitemap, verify your site in Google Search Console with DNS in cPanel, submit the sitemap and fix indexing issues.

BeginnercPanel hosting3 min read

A sitemap is a list of the pages you want search engines to find. WordPress creates one automatically, and SEO plugins create a more detailed one. Submitting it to Google Search Console helps new pages get indexed and shows you which pages Google has trouble with.

Before you start

  • A Google account.
  • Access to cPanel → Domains → Zone Editor, or to your external DNS provider if your domain uses other nameservers.
  • Check Settings → Reading in WordPress: Discourage search engines from indexing this site must be unticked on a live site.

Find your sitemap

SourceUsual sitemap URL
WordPress core/wp-sitemap.xml
Yoast SEO/sitemap_index.xml
Rank Math/sitemap_index.xml
All in One SEO/sitemap.xml

When an SEO plugin provides a sitemap, it normally disables the core one. Open the URL in your browser; you should see a list of sitemap files or URLs.

Verify your site in Search Console

  1. Go to Google Search Console and click Add property.
  2. Choose Domain and enter example.com (without https:// or www). This covers all versions of the site.
  3. Copy the TXT record Google shows.
  4. In cPanel → Domains → Zone Editor click Manage next to the domain, then Add Record, type TXT, name example.com., and paste the value. Save.
  5. Back in Search Console click Verify. If it fails, wait 15–30 minutes and try again.

Keep the TXT record in place; removing it can remove your access.

Submit the sitemap

  1. In Search Console open Indexing → Sitemaps.
  2. Enter the sitemap path, for example sitemap_index.xml, and click Submit.
  3. The status should change to Success and show the number of discovered pages.

Keep the sitemap clean

  • Exclude thin pages such as tag archives, author archives on single-author sites, and attachment pages in your SEO plugin.
  • Only include pages that return status 200 and are not set to noindex.
  • Make sure the sitemap uses your final https:// address.

Read the indexing report

Open Indexing → Pages to see which pages are indexed and why others are not. Common reasons:

  • Crawled – currently not indexed: Google saw the page but did not find it valuable enough yet; improve the content and internal links.
  • Excluded by 'noindex' tag: intended for some pages; check it is not on important ones.
  • Not found (404): add redirects for moved pages.
  • Page with redirect: normal for old URLs; make sure the sitemap lists only final URLs.

Use URL Inspection on a new important page and click Request indexing.

Troubleshooting

  • Sitemap could not be read: a security plugin, Cloudflare rule or cached error page blocks it. Open the URL in a private window and check for errors; purge LiteSpeed Cache.
  • Sitemap shows 404: re-save Settings → Permalinks, which rebuilds the rewrite rules for sitemap URLs.
  • Verification fails: the TXT record was added in cPanel while the domain uses other nameservers.
  • Discovered pages count is far lower than expected: your SEO plugin excludes some post types, or many posts are set to noindex.

Bing and other search engines

Submit the same sitemap in Bing Webmaster Tools, which can import your verified sites directly from Google Search Console. You can also add a Sitemap: line with the full sitemap URL to your robots.txt so every crawler finds it; most SEO plugins add this automatically to WordPress's virtual robots.txt.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.