Home » WordPress Tutorials » Administration » How to Submit your WordPress XML Sitemap to Google

How to Submit your WordPress XML Sitemap to Google

Submitting your XML sitemap to Google Search Engine allows you to track how your website performs in search results and various data about your visitors – the number of visits, click-through rates, impressions, positioning, and audience summary.

This is very handy, as this information can give you an insight into what works just fine and what needs improvement on your pages.

The console also helps Google quickly index and rank your site’s content, despite your site is brand-new.


How to Submit your WordPress XML Sitemap to Google

You can submit your sitemap via Google Search Console. This is a free platform that helps website owners monitor the site’s performance in Google search results.

First, register to Google Search Console.

Then, you will be asked to select a property type. You can select either of both, however, we proceed with URL Prefix, as it is easier to setup:


Then, enter your site’s URL and click on continue.

You will be asked to verify the site’s ownership. We will do so by HTML tag:


The platform will generate a code that you should insert into WordPress:


The easiest way to include the code in WordPress is by using a handy plugin, called Insert Headers and Footers. It allows you to add code snippets in a simple manner:


First, install the plugin and then open the settings:


Then, add the copied code to the Scripts in the Header section:


Don’t forget to save the changes.

Now, go back to Google Search Console and click on Verify:


This will make Google Search Console register your website and add it to your Search Console account.

Once the process is finalized, go to the Sitemaps page in Google Search Console:


Then, in the Add New Sitemap box, add the last part of the sitemap URL and click on Submit:


Now you have successfully added the sitemap to Google Search Engine.



By adding your website to Google Search Console you ensure that the search engine will index your pages and will showcase them in search results. Also, the platform allows you to monitor comprehensive data and analyze what works in terms of attracting new visitors and customers and what does not.

In a series of articles, we discuss everything about the sitemaps. If you are new to the topic, then find out what a sitemap is, how to create an HTML sitemap, or how to create an XML sitemap.



Was this article useful?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Newest Articles:

How to Add a Site Logo Block in WordPress with Gutenberg

Adding a site logo in WordPress with Gutenberg is straightforward and requires only a few mouse clicks and just several minutes of your time. In the following paragraphs, you will read how to add a site logo to your WordPress website via the Gutenberg editor step by...

How to Add Images to WordPress with Gutenberg

Adding images with Gutenberg is quite simple. The block editor is very user-friendly and allows you to add images in several ways. In the following paragraphs, you will read about 4 methods you can instantly use to upload the media files you want.   How to Add...

How to Disable Gutenberg in WordPress

If Gutenberg is not suitable for your needs and wish to switch back to the Classic Editor, continue reading, as in this article we will show you 3 simple methods of how to disable the block editor. In the following sections, you will read how to disable Gutenberg by:...

5 Best Gutenberg Plugins for WordPress

One of the fastest and most convenient ways of enhancing the functionalities of Gutenberg is by using various WordPress plugins. Although Gutenberg is very versatile and feature-rich by itself, the open-source nature of WordPress has inspired developers all around the...

How to Add a Contact Form with WordPress Gutenberg Editor

If you are using Gutenberg to craft your WordPress website, then you should know that the process is very easy, especially by using the block editor. In the following paragraphs, you will read how to add one to your pages.   How to Add a Contact Form with...

Ready to Create Your Website?