Sitemaps are considered one of web optimization’s oldies however goodies.

The truth is, they’re one of the vital vital components of web optimization, as a result of they assist Google and different serps discover the pages in your web site.

To not point out additionally they assist you to rank higher, as a result of Google is ready to find new pages and establish updates to outdated pages far more shortly.

In a nutshell: you’ll be able to’t dwell with out ’em.

I’ve typically heard that they will really feel overwhelming and fairly technical to grasp.

However do not let the frustration of their technicality make you throw your laptop out the window — I’ve bought your again!

I’ll present you what sitemaps are, the right way to create one, the right way to submit them to Google, and all of the important finest practices.

→ Download Now: SEO Starter Pack [Free Kit]

What’s a sitemap?

To start out off with the fundamentals, a sitemap is a file that gives details about the pages, movies, photos, and different information in your web site. It is vital for numerous causes, together with:

  • Performing as a roadmap for Google and different serps to search out and higher perceive your content material.
  • Main serps by way of your web site to crawl and index the important pages.
  • Serving to search establish when new pages and updates to outdated pages can be found.
  • Serving to serps discover alternate language variations of your web page.

However earlier than I’m going additional, you will need to know that there are two kinds of sitemap codecs: HTML and XML. Here is the essential distinction:

HTML sitemaps: That is extra like your content material sitemap that customers can see and use to navigate your website. They’re additionally generally known as your “web site archive.” Some entrepreneurs view HTML sitemaps as outdated and even solely pointless.

XML sitemaps: That is the sitemap that is purely used for indexing and crawling your web site and is manually submitted. It is the extra trendy type of dealing with how all of your content material is saved throughout your web site.

Whereas HTML sitemaps may assist customers discover pages in your website, as John Mueller said, your inner linking ought to maintain that anyhow. So the main focus from an web optimization perspective must be on XML sitemaps.

Kinds of Sitemaps

From these two kinds of sitemaps described above, there are additionally subsections inside them. I will now go over these in additional element.

1. Web page Sitemap

A web page sitemap or common sitemap improves the indexations of pages and posts. For websites that aren’t image-focused or video-focused, like pictures and videography websites, a web page sitemap may also embrace the pictures and movies on every web page.

A web page sitemap with out a picture would seem like this:

<?xml model=”1.0″ encoding=”utf-8″?>

<urlset xmlns=”″ >




    <changefreq>each day</changefreq>




Embrace your URLs in <loc> tags. <lastmod> signifies when the web page was final edited. <changefreq> signifies how typically the web page is edited and <precedence> signifies how vital the web page is to different pages on the web site as a complete. You possibly can check out Sitemaps XML format for extra data on these parameters.

2. Video Sitemap

An XML video sitemap is much like a web page sitemap, however after all focuses largely on video content material, which implies they’re solely needed if movies are crucial to your small business. If they are not, save your crawl budget (the finite quantity of crawlable pages and assets throughout your website) and add the video hyperlink to your web page sitemap.

However when you do want a video sitemap, it could seem like this:

Be aware: That is what a video sitemap appears to be like like. Implement it provided that movies are crucial to your small business.

3. Information Sitemap

In the event you publish information and need to get these information articles featured on prime tales and Google Information, you want a information sitemap. There is a essential rule right here: don’t embrace articles that had been printed longer than the final two days within the file.

Google News sitemaps aren’t favored in regular ranking results, so be sure you solely add information articles. Additionally, they don’t help picture hyperlinks, so Google recommends you utilize structured information to specify your article thumbnail.

4. Picture Sitemap

Just like the video sitemaps, picture sitemaps are solely needed if photos are crucial to your small business, akin to a pictures or inventory photograph website. If they are not, you’ll be able to depart them in your web page sitemap and mark them up with the picture object schema, and they are going to be crawled together with the web page content material/URL.

In the event you imagine a picture sitemap is required, it’s going to seem like this:

<?xml model=”1.0″ encoding=”utf-8″?>

<urlset xmlns=”″ xmlns:picture=”″ >











5. Sitemap Index

There are just a few limitations you may need to remember for sitemaps:

  • Having too many URLs will solely result in no indexation of a few of your pages.
  • All sitemaps, besides the information sitemap, ought to have a most of fifty,000 URLs.
  • Information sitemaps ought to have a most of 1000 URLs.
  • A sitemap must be a most of 50MB in uncompressed file dimension.

Because of these limitations, you may have to have multiple sitemap. If you use multiple sitemap file, you want an index file that lists all of these sitemaps. It is the index file that you just submit in Google Search Console and Bing Webmaster Instruments. That file ought to seem like this:

XML Sitemap Instance

Up to now, you have got seen every sitemap’s construction. Most web sites will solely want the web page sitemap that features the pictures on every web page. That appears like this:

Sitemap Priorities

Adding priorities to your sitemap is without doubt one of the issues many individuals do to distinguish between how vital completely different pages are, however Google’s Gary Illyes talked about that Google ignores these priorities. In his precise phrases:

Typically talking, so long as you’re trustworthy about when your content material was really modified, embrace it in your sitemap in order that Google and different serps know to re-crawl the modified web page and index the brand new content material.

How you can Create a Sitemap

On this part, I’ll present you the right way to create a sitemap with out utilizing any generator or plugin. In case your web site is on WordPress otherwise you’d relatively use a generator (which makes this straightforward), skip to the subsequent part.

These are the precise steps to comply with to create a sitemap manually:

1. Resolve which pages in your website must be crawled by Google, and decide the canonical version of every web page.

Canonical variations are needed when you have got duplicate pages. For instance, suppose you serve a world neighborhood and have pages for every location with the identical language and content material, like page and page for US and Canada guests, respectively.

In that case, it is vital that you just level to the unique, which is likely to be page or one of many two because the canonical. If you would like to study extra about how this works, this post explains canonicalization in depth.

Moreover, don’t embrace URLs which might be blocked by robots.txt information, require a login to entry, or are password-protected, as search bots cannot crawl them. You may solely get protection errors in GSC when you add them.

2. Decide when you want multiple sitemap.

A number of web sites use separate information for pages, posts, and classes. Keep in mind that if in case you have greater than 50,000 URLs, you want a number of sitemaps.

3. Code all of your URLs in XML tags to seem like the kind of sitemap you need to create.

This page explains how to use XML tags in additional element.

4. You probably have a number of sitemap information, create a sitemap index file and embrace the hyperlinks to the person sitemaps you created.

This one is already described within the part titled “Sitemap Index”.

Sitemap Turbines

Most of us entrepreneurs shouldn’t have an internet improvement background, so we won’t code to avoid wasting our lives. If the considered manually crafting a sitemap provides you a headache, use a sitemap generator and save your self 12 days of trying by way of complicated coding.

There are a number of sitemap generators that you should utilize:

  • TechnicalSEO by Merkle has one the place you’ll be able to add a CSV file together with your URLs. It is particularly nice if in case you have completely different language variations of your pages (hreflang tags).In case your web site is custom-coded and isn’t on any CMS or builder that generates a sitemap, it’s worthwhile to use a generator like TechnicalSEO.
  • Screaming Frog SEO Spider additionally has one which I like to make use of with easy custom-built websites. In Screaming Frog, guarantee you’re utilizing the spider mode. You are able to do that by clicking on “Mode” and deciding on “spider”. Then sort the URL of your own home web page and let it crawl. When it is accomplished, click on on “Sitemaps.”

For clarification on the right way to use Screaming Frog, check out the picture under:

So as to save the XML file to your laptop, tick all of the choices that matter to your website and click on on “export”. Then, add that file to your server within the root listing.

Each instruments don’t mechanically replace the sitemap file. Some instruments do however are premium, so that you pay for the service.

Nonetheless, you will not have to take care of any of the above in case your web site is on WordPress or an ecommerce platform like Shopify.

For WordPress websites, Yoast and Rank Math are standard web optimization plugins that generate sitemaps and replace them once you edit your posts and pages and Shopify even generates sitemaps mechanically.

How you can Submit Your Sitemap to Google

One of the simplest ways to submit your sitemap to Google is thru Google Search Console (GSC). There are different methods and extra steps as nicely, however I’ll begin with GSC, as a result of it is the commonest technique.

Observe these steps:

1. Go to Google Search Console and click on on “sitemap.”

2. Sort your sitemap URL and click on Submit. You probably have a number of sitemaps with a sitemap index file, you solely have to sort the URL for the index file.

In its place, if you have not submitted it to GSC, there may be one other technique to let Google know you have got one by including this line in your robots.txt:


However after all the URL right here with the one you even have. And if in case you have an index file, embrace solely your index file right here.

If (for some bizarre motive) you are not utilizing GSC, use the ping service to let Google realize it ought to crawl your file. To try this, sort the URL under in your browser:

Exchange together with your sitemap URL.

And it is accomplished!

Sitemap Finest Practices

Now that you just perceive the significance of sitemaps, how they work, and your choices for submitting them, let’s be sure that the ultimate one you create is in tip-top form by following these finest practices.

1. Use instruments to generate computerized sitemaps.

Manually creating and updating an XML sitemap will value you a number of time (and is unnecessarily complicated). To avoid wasting time so you’ll be able to concentrate on different issues like your subsequent Netflix binge, it is best to make use of an computerized sitemap generator.

Those talked about for WordPress above include that characteristic at no cost. For custom-built websites, you’ll have to pay, however in my view it is completely one thing price paying for.

2. Do common sitemap upkeep checks and updates.

All parts of SEO are an ongoing effort, so verify your sitemaps repeatedly. Search console does a wonderful job of letting you realize in case your submitted URLs have points with crawling or indexing.

Test the ‘Protection’ part in GSC repeatedly and replace your website or sitemap when there are errors. The wonderful thing about that is that it tells you what the precise error is with strategies on the right way to repair it.

You too can use Screaming Frog for sitemap upkeep. After crawling your web site or sitemap URL, verify the response code tab for 404 or 5xx errors.

If you’re utilizing an computerized sitemap generator instrument or plugin, replace it when updates can be found. Moreover, periodically view the sitemap by going to your sitemap URL and checking if any web page is lacking or the final up to date time is inaccurate.

3. Prioritize high-quality pages in your sitemap.

Though Google not pays consideration to the precedence tag (or so they are saying), you’ll be able to nonetheless add it as a result of there’s greater than Google on the market (sure, as an web optimization I’ll admit it). Bing may take note of that tag, so it is nonetheless good follow to prioritize high-quality pages in your sitemap.

Sitemap precedence exhibits which pages to crawl and index sooner, so you’ll be able to set priorities utilizing values starting from 0.00 to 1.00. However be sure that to not use the identical worth for all pages or else Google will not have the ability to inform which is most vital.

For values, you’ll be able to go together with one thing like this:

  • Homepage – 1.00
  • Principal touchdown pages – 0.90
  • Different touchdown pages – 0.85
  • Principal hyperlinks on navigation bar – 0.80
  • Different pages on website – 0.75
  • Prime articles/weblog posts like hub pages – 0.80
  • Weblog class pages – 0.75
  • Different posts – 0.64

4. Embrace solely canonical variations of URLs in your sitemap.

Your sitemap ought to solely include URLs that you really want serps to index. Which means if a URL factors to a different as its canonical version, you should not embrace it, as it is a assertion to Google and different serps that you do not want for that URL to be listed.

Ignoring that and together with that URL in your sitemap gives conflicting data to Google. The unintended URL may get listed, or you’ll get protection errors in GSC. So, solely embrace the canonical variations, so you’ll be able to consolidate your place in search engine outcomes.

5. Break up up your giant sitemaps.

I discussed this above already that it’s worthwhile to break up your sitemap into a number of information if it exceeds 50MB or has greater than 50,000 URLs. By no means submit giant XML files to Google, in any other case a few of your URLs won’t be listed – and you realize nicely that each URL issues!

One fast tip right here is to avoid wasting every file with straightforward to grasp names (for you) like page_sitemap1.xml and page_sitemap2.xml.

And with that, I want you cheerful sitemapping!