How To Create & Submit A Sitemap: Complete Guide

This is a step-by-step guide on how to create and submit a sitemap. A sitemap is an XML file that lists all of the pages on your website (or blog) and their relative URLs, as well as necessary metadata like the content’s last updated date. This article will cover everything you need to know about sitemaps to ensure they are adequately submitted for indexing by search engines.

how to create an XML sitemap

If you are using WordPress, I recommend just installing Yoast Plugin. It will automatically create an XML sitemap for you, and you can scroll down to Step 4.

  1. Understand the Basics

    sitemap example

    An XML sitemap is a simple list of your website’s pages.

    There are some pages that we’re not interested in. For example, “login” and “thank you” pages. These pages you will want to exclude from your XML sitemap.

    The first step in building a site’s sitemap is to map out the site’s contents, which we will cover in step two.

  2. Collecting all of your Pages

    screaming frog: xml-sitemap export

    Now that we know what we are looking for let’s collect your pages.

    In this step, find all the website’s URLs. The easiest way to make a sitemap is with a crawler like Screaming Frog (free up to 500 URLs), which can quickly crawl your site and spit out a preformatted XML sitemap.

    Suppose you do not want to download and install SEO software. In that case, I recommend performing a Google Search for “Free XML Sitemap Generator,” this online tool will automatically create a sitemap for you.

  3. Add your sitemap to the Root folder

    xml-sitemap in root folder

    Next, you will want to add the generated XML file to the root of your website.

    You can upload the XML file using an FTP manager, cPanel file manager, or a file manager plugin.

    To make sure you’ve added the XML file in the proper location, you should be able to access it by clicking on

    *replacing with your actual website URL

  4. Add the XML sitemap to the Robots.txt file

    robots.txt file

    A robots.txt file tells search engine crawlers where to find your XML sitemap.

    You will need to add the example below to your txt file:


  5. Submit your sitemap

    submit your sitemap

    Assuming you already have Google Search Console and Bing Webmaster Tools setup, you will need to submit your sitemap to Google and Bing.

  6. How to submit a sitemap to Google

    Submit your sitemap to GSC

    a) Sign in to your GSC account.

    b) Under the Index section > click on Sitemaps > Add a new sitemap

    c) Enter your sitemap URL “” into the available field and press submit.

  7. How to submit a sitemap to Bing

    Submit your sitemap to Bing

    a) Sign in to your Bing Webmaster Tools account.

    b) Select your website >> Click Sitemaps >> Submit Sitemap button

    c) Enter the full URL of your sitemap

Creating a site map doesn’t have to be complicated, primarily if you use a plugin that handles the heavy lifting. You can’t guarantee that Google will index the pages in your sitemap, let alone rank them. A sitemap has no bearing on ranking, but it makes sure Google finds the URLs you are posting, which can give you a leg up against the competition.

Published on: 2021-06-01
Updated on: 2022-06-09

Avatar for Isaac Adams-Hands

Isaac Adams-Hands

Isaac Adams-Hands is the SEO Director at SEO North, a company that provides Search Engine Optimization services. As an SEO Professional, Isaac has considerable expertise in On-page SEO, Off-page SEO, and Technical SEO, which gives him a leg up against the competition.