Start a conversation
دفتر تفکر دیجیتال · April 5, 2020

What is a sitemap, and how does it affect SEO?

نقشه سایت یا sitemap چیست و چه تاثیری در سئو دارد؟

Translated edition of the 2020 archive. Historical tools, figures and interface descriptions may have changed.

A sitemap is a file listing important content on a website so search engine crawlers can discover it. An HTML sitemap serves a related purpose for human visitors: it presents links that help people find and use the site’s content.

Search engines use XML sitemaps to understand a site’s structure. The original article described inclusion in a sitemap as guaranteeing indexing; this should be read as a historical claim, not a guarantee. A well-formed file with valid URLs helps crawlers discover pages, but discovery and indexing are distinct outcomes.

A sitemap is particularly useful for a new site whose pages have few internal or external links; sites with dynamic URLs; archives that are poorly linked from active pages; and pages that are difficult to discover or contain substantial non-text material. The original article mentioned Flash as an example of the latter, reflecting its publication period.

An XML sitemap is a structured representation of the site. It can contain page addresses and information about updates and relative importance. Its purpose is to introduce content to search engines.

Why a sitemap matters

A sitemap helps communicate which pages exist and which have been added or updated. Search engines still use their own criteria to evaluate pages. The original article linked updates with crawler visits and indexing; submitting updates should not be understood as a promise of immediate crawling or indexing.

On a large website, crawlers may miss some pages. A sitemap provides another route to discover them. This can be especially useful on a new site where internal and external linking is still limited, because crawlers commonly discover pages by following links.

What is a sitemap index file?

A sitemap index groups multiple sitemap files. Compression can reduce the size of files transferred. The original article quoted a 10 MB limit and 5,000 URLs per sitemap, and up to 50,000 sitemaps in an index. These figures are retained here as part of the historical discussion, not as current implementation specifications.

A sitemap index can include a last-modified value for each sitemap. The <sitemapindex> element encloses the index, and each <sitemap> element contains information about one sitemap file.

Elements used in an XML sitemap

The <urlset> element encloses the sitemap. Each <url> element groups information for one page. The <loc> element contains the page’s exact address. The optional <lastmod> element records when the page changed, for example as YYYY-MM-DD. The article also describes <changefreq> as an indication of update frequency and <priority> as a relative value between 0.0 and 1.0.

The article identifies <loc> as required and the other three elements as optional. It recommends placing the sitemap in the site’s root directory, keeping its URLs on the same domain, and limiting each URL to 2,048 characters.

Do not treat frequency or priority values as a way to force daily crawling. The original text cautioned against inaccurate values and suggested they could lead to the sitemap being ignored. The underlying practical point is to provide truthful information rather than attempt to dictate crawler behaviour.

Types of content described by sitemaps

Sitemaps can provide information about different content types. The article lists HTML pages, video, images, mobile content and news. These names reflect the tools and terminology discussed when it was published.

Creating a sitemap

The article introduces online generators such as XML-sitemaps.com and describes a free workflow involving a few simple steps. It also lists page-priority settings and tools related to competitors, search positions and keyword popularity, and mentions paid upgrades. Those service descriptions belong to the original publication period and should not be taken as a current feature or pricing list.

Other names mentioned include Enarion phpSitemapsNG and Google Sitemap Generator. Content management systems such as WordPress and Joomla can also use suitable extensions to generate sitemaps.

Sitemaps in WordPress

The original article describes automatic sitemap generation through Yoast SEO and recommends the Google XML Sitemaps plugin. These are historical recommendations from the article, not a requirement to install an additional plugin on a site that already has a working sitemap.

Checking a sitemap

Validation tools help identify XML and element-placement problems. The article names XML-sitemaps.com, Google Sitemap Validator and XChecker as examples of tools used for this purpose at the time.

Submitting a sitemap to Google

Submitting a sitemap lets the site owner introduce URLs and inspect reported errors. The article’s original interface instructions were: open Google Webmaster Tools, go to Optimization, choose Sitemaps, select Add Sitemaps and enter the sitemap URL. These menu names describe the older interface rather than the current product navigation.

Share
WhatsAppTelegramX

Start a conversation