How to Create an XML Sitemap for Your Website (and Submit it to Google)An XML sitemap is a effective software that informs look for engines about all the web pages that exist on your web-site. Without having a sitemap, Google might uncover it tricky to navigate all the web pages on your site.

The good news is, you can develop and post an XML sitemap to Google in a few minutes.

In this post, we’ll give a action-by-action guideline to developing your XML sitemap and submitting it to Google.

Before we dive in, let us include some of the essential matters you really should know about sitemaps.

What is an XML Sitemap?

A sitemap is an XML file that lists the URLs for a web site. It also allows web-site owners to involve extra information and facts about each and every URL: when it was final up-to-date, how typically it adjustments, and how significant it is in relation to other URLs in the internet site.

This permits search engines to crawl the web-site additional efficiently and find URLs that may perhaps be isolated from the rest of the site’s content material.

Here’s an illustration of what an XML sitemap seems like:

XML Sitemap Example

Image Credit:

Prior to we show you how to make a sitemap, let us have an understanding of why you’d have to have one in the initial location.

Why You Have to have an XML Sitemap

One of the major misconceptions about XML sitemaps is that they help your webpages get indexed. Google does not index your webpages just since you submitted your sitemap to Google Search Console. Google indexes them primarily based on their quality and relevance. That claimed, by submitting your sitemap to Google, you’re offering a trace that your internet pages are worthy of indexation.

If your web page has incredibly couple of webpages, then you may well not want a sitemap. But if your web site is big, Google website crawlers could discover it tough to crawl your new or not too long ago updated pages. In these kinds of instances, you can make it less difficult for Google to crawl your web-site by developing a sitemap and distributing it to Google.

Here’s what Google has to say about sitemaps:

If your site’s webpages are correctly linked, our net crawlers can usually explore most of your web page. Even so, a sitemap can strengthen the crawling of your web site.

Although there are many Search engine marketing gains of making use of an XML sitemap, right here are the 3 key motives you really should use one:

  • Sitemaps help Google crawl your website in a much more efficient way.
  • Sitemaps let look for engines to prioritize certain articles above other folks.
  • Sitemaps suggest to look for engines how typically your content is updated.

How to Generate an XML Sitemap

Now that you know the great importance of making a sitemap, let us get started off with the process of building an XML sitemap for your web-site.

There are many techniques you can create an XML sitemap. Under, we have detailed down all the distinct means you can create and submit your sitemap to Google. Pick a technique that suits your site’s present-day configuration.

1. Building an XML Sitemap in WordPress

WordPress powers 33.4% of all internet websites on the world wide web.

If your web-site is driven by WordPress, here’s what you require to know: WordPress does not instantly produce a sitemap for your website. As this kind of, you will need to have to count on a WordPress plugin to do this for you.

There are two plugins I’d suggest for this process — Google XML Sitemaps and Yoast Search engine optimisation. You can choose either a person of these plugins to produce a sitemap.

Technique 1: Making use of Google XML Sitemaps Plugin

The Google XML Sitemaps plugin does accurately what it is supposed to do — it generates a finish XML sitemap for your site which you can then submit to Google and other lookup engines.

To set up and activate this plugin, login to your WordPress dashboard.

Go to Plugins —> Increase New, and lookup for “Google XML Sitemaps.”

Click on the “Install Now” button and strike “Activate.”

XML Sitemaps Plugin

After the plugin is activated, it mechanically generates a sitemap for you. To perspective your sitemap, pay a visit to

You can also tweak the plugin configurations to prioritize certain webpages above some others and exclude webpages from the sitemap.

To open the plugin configuration page, navigate to Configurations —> XML Sitemap —> Simple Alternatives. 

XML Sitemaps Plugin Settings

Future, you can scroll down to obtain “Sitemap Content.” An Seo greatest apply is to exclude tag pages and archives from the sitemap file. To do this, uncheck the two containers as shown below:

XML Sitemap Settings

You can scroll even further down to tweak other settings as effectively — change frequencies, priorities, and many others. After you’ve built the necessary alterations, simply click on “Update Options” to help you save your adjustments.

Technique 2: Working with Yoast Search engine optimization Plugin

Yoast is the best Search engine optimisation plugin on WordPress by a place mile and likelihood are you’re currently employing Yoast to optimize your webpage titles, meta description, and so on.

If for some motive, you’re not keen on adding an further plugin just to make a sitemap, then you can use Yoast Search engine optimisation plugin to produce the identical.

If you’ve not mounted Yoast but, just follow these actions to set up and activate this plugin.

Go to Plugins —> Increase New, and look for for “Yoast Search engine optimisation.”

Click on on the “Install Now” button and hit “Activate” at the time it’s put in.

Yoast SEO Installation

As soon as it is activated, go to Search engine optimisation —> Standard —> Functions.

Just convert the “XML sitemaps” toggle on to crank out your sitemap.

XML Sitemaps Yoast

You can check out your sitemap at both or

2. Creating an XML Sitemap in Wix

Far more than 3.5 million internet sites have been designed working with Wix, an Israeli cloud-based world-wide-web improvement platform. If your website is run on Wix, then you do not have to get worried about manually creating a sitemap.

A sitemap is routinely generated by Wix’s server and is constantly saved up to date with your site’s facts. To look at your sitemap, just visit

Wix endorses that you post your sitemap each and every time you publish new content or make alterations on your internet site.

3. Building an XML Sitemap in HubSpot

Just like Wix, HubSpot automatically provides your dwell HubSpot-hosted web site internet pages and website posts to your sitemap.

To look at your XML sitemap in your HubSpot account, click the Settings icon in the key navigation bar.

Navigate to Domains & URLs —> Sitemap, and then click on “Watch XML file.”

HubSpot Sitemap

Graphic Credit rating: HubSpot

This will open up your XML sitemap in a new tab. Alternatively, you can also visit to watch your sitemap.

You can also edit your sitemap by clicking on your area dropdown menu and selecting sitemap. To incorporate a new website page to your sitemap, click on “+ Include a page.” To exclude an existing page from your sitemap, hover in excess of a webpage and click “Remove.”

HubSpot Sitemap Configuration

To additional customise the internet pages in your sitemap, hover more than a site and click on “Options.”

Simply click the Transform frequency dropdown menu to choose how typically this page updates and must be crawled. Click on the Precedence dropdown menu to rank how this webpage compares to the other pages on your internet site.

When you have created improvements to your sitemap, be guaranteed to hit the “Save” button.

4. Making a Sitemap in Shopify

All Shopify internet sites automatically create an XML sitemap file that is made up of back links to all your products, merchandise illustrations or photos, pages, collections, and blog site posts.

The sitemap is automatically current when you add a new webpage, merchandise, collection, impression, or weblog article to your Shopify eCommerce retailer.

You can see your sitemap at 

5. Generating a Sitemap in Squarespace

Squarespace is swiftly turning out to be a well known content administration method (CMS). It is presently utilized by 2.8% of all web sites on the world wide web.

Squarespace also generates a sitemap automatically for your site. You can check out it at

6. Producing a Sitemap in Screaming Frog

Screaming Frog is a desktop program (out there on Windows & Mac) that crawls your websites’ backlinks, illustrations or photos, CSS, script and, applications from an Web optimization standpoint. In other words, Screaming Frog’s web crawler (termed Search engine optimisation Spider) does a comprehensive technical website audit for your web-site, encouraging you make knowledgeable conclusions about improving your site’s all round Web optimization.

If your website has less than 500 webpages, then you can obtain the free edition of Screaming Frog and produce an XML sitemap for your website.

At the time you have downloaded and put in Screaming Frog, navigate to Method —> Spider.

Enter your area in the look for box and hit “Start.”

Screaming Frog Crawler

Screaming Frog will consider a couple of minutes to crawl your web-site. When the crawl is concluded, glance at the base-suitable corner to see the complete number of pages that have been crawled.

If the selection is much less than 500, go to Sitemaps —> XML sitemap.

Screaming Frog Sitemap Generator

You can tweak the options in Last Modified, Precedence, and Change Frequency tabs. Ahrefs indicates that Google does not pay out considerably awareness to these options, so you can go in advance and exclude them from the sitemap file.

Hit “Next” and help save the sitemap to your computer system.

Your XML sitemap is now completely ready for submission.

How to Submit an XML Sitemap to Google

Now that your XML sitemap is prepared, it is time to submit it to Google. In most instances, your sitemap will be positioned at

If you have not registered your site with Google still, just follow these actions:

  • Stop by Google Search Console, simply click on “Start” and indication in to your account with the email address that you’d like to be connected with your domain.
  • Enter your area in the “Domain” column if you’d like to confirm your area possession by using DNS history, or enter your area in the “URL Prefix” column to confirm your ownership employing other strategies (HTML tag, Google Tag Manager, and so forth.) As soon as you’ve entered your domain, strike “Continue.”

GSC Domain Verification

  • Verify your domain possession utilizing any approach you prefer.
  • When you have logged into your Google Search Console dashboard, navigate to Sitemaps —> Add a sitemap.
  • Enter your sitemap URL and hit “Submit.”

GSC Sitemap Submission

Which is it. Your sitemap has now been submitted to Google.

Last Views

Sitemaps are not magical tools that will immediately index your pages and enable you rank better in Google research final results. But they do make Google’s position much easier of crawling and indexing all the important webpages on your website.

If you want to improve your Google search rankings, you will need a mixture of large-high-quality material, authoritative backlinks, and on-page optimization. Incorporate a sprinkle of luck and great timing in there and you’d have arrived at your magic system to enhanced Google rankings.

Now that you all there is to know about producing and submitting XML sitemaps, it’s time to get began. Generate an optimized XML sitemap making use of any of the techniques over and post the same to Google through Google Search Console.

If you have any inquiries, please share them in the comments area below. I’ll check out to answer them as very best as I can.

If you observed this report practical, you should share it on Twitter utilizing the link under:

Related Article content