A sitemap is a file that lists all the important pages on a website. It guides search engines in determining which pages to include in their index.
Having a sitemap is an important part of SEO. Sitemaps help Google discover your pages faster and more effectively.
There are two types of sitemaps:
Let’s take a closer look at each of these two types.
XML sitemaps are the preferred format of sitemaps for search engines, such as Google.
They carry three primary kinds of information for search engines:
They look something like this:
XML stands for Extensible Markup Language. It’s a format that makes it easy for search engine crawlers to read a sitemap.
Google says sitemaps are suitable for large websites, websites with extensive archives, or new websites with few links.
However, every website can benefit from having an XML sitemap. There are really no downsides to having one. And it only takes a few minutes to create one.
If you want to learn more about XML sitemaps, here are some further resources:
HTML sitemaps used to be a popular way to improve a website’s navigation and provide links to all your pages in one place.
Here’s an example of an HTML sitemap by H&M Group:
As you can see, it’s a standard page with links to various pages organized in a hierarchical way.
Although HTML sitemaps aren’t that common anymore, some voices in the SEO community still say they’re a must.
The fact is:
HTML sitemaps can improve your internal linking and provide another layer of navigation for complex websites with many pages.
However, do not use an HTML sitemap as a replacement for good site navigation elements (such as menus, footer links, breadcrumbs, categories, etc.).
As John Mueller, Google Search Advocate, said on Mastodon:
“If you feel the need for an HTML sitemap, spend the time improving your site’s architecture instead.”
In other words, users should not need a sitemap to navigate your website.
Note: When we talk about sitemaps in the context of SEO, we usually mean XML sitemaps. From now on, we will talk about XML sitemaps in this guide.
Here are some effective ways to find a sitemap on a website:
The easiest way to find an XML sitemap is to look for it manually. Most commonly, a website sitemap will be located at this URL address:
https://domain.com/sitemap.xml
Quite often—especially if the website uses WordPress and the Yoast SEO plugin—you’ll be redirected to a sitemap index (/sitemap_index.xml).
In that case, it will look like this:
As you can see, a sitemap index is a simple file that lists all the sitemaps of a website. (Yes, there can be multiple sitemaps.)
To see the actual sitemap, just click the link to the specific sitemap in the index.
Search operators are special phrases or symbols you can add to a search query to return more specific results.
Here are some search operators you can use to find a sitemap on a website:
You can use these operators in all the popular search engines, such as Google, Bing, or Yahoo.
Simply enter the operator into the search bar and replace “domain.com” with the actual website’s address.
The search results should return the location of the website sitemap if it exists and the search engine you’re using has indexed it.
If you have access to a website’s Google Search Console, there’s a chance the sitemap has been submitted there.
Head to the “Sitemaps” report in the “Indexing” section of the left menu.
Here, you’ll see a section called “Submitted sitemaps.” If someone has submitted an XML sitemap before, you’ll find its URL in the list.
Note: We’ll talk about submitting a sitemap to Google Search Console later in this guide.
Robots.txt is a website file that tells search engine crawlers which sections of the website to crawl and which to avoid.
You should place it in the root folder of your site: https://domain.com/robots.txt
If the robots.txt file follows best practices, it will link to the website sitemap. Just search for “sitemap” within the robots.txt document.
The section linking to a sitemap will look something like this:
If you’ve tried all the ways mentioned above and couldn’t locate your XML sitemap, your website probably doesn’t have one.In that case, read our guide to XML sitemaps to learn how to create a sitemap for a website. Or use a sitemap generator.
To ensure your sitemap is set up correctly, you can use a website auditing tool like Semrush’s Site Audit. The tool will crawl your website (similar to the way Googlebot does) and detect any technical SEO issues.
Here’s what the tool’s dashboard looks like:
You can create a free account (no credit card needed) and crawl up to 100 pages within minutes.
Once you’ve signed up, setting up the first crawl is fairly easy:
Once you’ve run an audit with the tool, you’ll be able to review any site errors under the “Issues” tab.
Just search for “sitemap.” You’ll get a list of issues related to your sitemap.xml file.
Some common sitemap-related issues include the following:
When you click the link with the number of affected pages, you’ll see a full list of affected pages.
You can also click the “Why and how to fix it” link next to each type of issue.
This will open a modal window with further explanation of the issue and tips on how to fix the problem.
Submitting your XML sitemap to Google is one of the SEO best practices. That’s mainly for two reasons:
You can submit your sitemap in Google Search Console.
(If you don’t have an account yet, read our detailed guide on how to set up Google Search Console for your site.)
To submit your sitemap, go to the “Sitemaps” report. You’ll find it in the “Indexing” section of the left menu.
There, enter the URL of your sitemap in the “Add a new sitemap” section. And click the “Submit” button.
After you’ve submitted your sitemap, you’ll get a message like this:
For a more in-depth guide, read our post on how to submit a sitemap to Google.
You can monitor the status of your sitemap anytime you visit the report. If there’s a green “Success” message, you’re all good.
If there’s an issue with your sitemap, you’ll see a red “Couldn’t fetch” or “Has errors” status. In this case, the report will provide a detailed explanation of what went wrong and how you can fix it.
You can check the full list of possible errors and how to fix them in Google’s guide to the “Sitemaps” report.
Sitemaps are an important aspect of SEO. But they’re not the only thing that matters.
Read our guide to conducting a technical SEO audit to learn about other technical aspects of SEO you should pay attention to.
Here is a recap of what happened in the search forums today, through the eyes…
When it comes to B2B strategy, a holistic approach is the only approach. Revenue organizations…
SEO Twitter reacted strongly when I shared Sundar Pichai’s statements about Search Generative Experience (SGE)…
Google Ads has posted its first new features announcement in its help section in over…
Google opened up its feedback form after it announced the Google March 2024 core update…
Google is now labeling or using the title of its SGE, Search Generative Experience, "AI…
This website uses cookies.
Leave a Comment