A sitemap informs search engines if the individual pages on a site are new or up to date. The sitemap protocol consists of an XML file that includes the website URLs, optional elements of additional information for each page.
According to Google, a sitemap is a file in which you can list the pages of your website to inform Google and other search engines about the organization of the content of the same.
The sitemap is a fundamental element in any web positioning strategy,since it allows the pages to be indexed in search engines. The presence of the sitemap is reported to search engines either through the robots.txt file such as by submitting to Google Search Console or Bing Webmaster Tools.
Table of Contents
How to createps.xml system
Through Sitemaps.org you can find the protocol with the official reference. Once defined as an XML file, it is a matter of adding urls with the particularities of each node. Not to exceed 50,000 urls for each sitemap or 50MB.
There are tools that crawl a website and generate and update the sitemap. Among them we can mention the Yoast plugin in WordPress, OSmap for Joomla, or platform-independent tools on which the web is created, such as XML Sitemap Generator
Where to place your sitemap
It is advisable to place the Sitemap in the root directory of the server, as well as include a link from the robots file.txt
How to index your sitemap
If you want to index the sitemap in Google, the first thing you should do is create an account in Google Search Console, where you can register the property. Then it is necessary to verify the profile. In the crawl and sitemaps option you can add it by copying the url that contains it.
In Bing the procedure is analogous, being necessary to create an account in Bing Webmaster Tool, from where you can send the sitemap for crawling in Bing.