A Sitemap is a list containing all the URL’s of the website.
There are two types of sitemap-
HTML Sitemap – HTML sitemap is a separate web page present on the site for easy user navigation. All the web pages are presented here in hierarchical manner.
XHTML Sitemap - These files are made for search engine, to provide them ease of crawling.
Sitemap (.XML) can be generated using online sitemap generators. There are number of xml sitemap generators present on the web. One of them is XML
Generator. Link: – http://www.xml-generator.com/
CREATION OF SITEMAP (IN XML)
The XML sitemap can be generated using online tools. Once the xml sitemap is generated, it looks something like this. The code consists of xml tags. The code is in written in between the “urlset” tags.
It includes-
The “url” tag contains the URL entries.
The URL of the page in “loc” tag.
The time (yearly, monthly, weekly or daily) when that page is likely to be modified.
The time when the page was last updated in “lastmod” tag.
The priority of the mentioned URL relative to other URL present in the site under “priority” tag.
The priority tag, lastmod tag, and the changefreq tag are optional i.e. you can choose whether have them mentioned or not in the sitemap. But the sitemap must contain the “loc” tag
<? xml version=”1.0″ encoding=”UTF-8″?>
<urlset>
<url>
<loc>https://digitalgrowths.blogspot.com</loc>
<changefreq>Year</changefreq>
<lastmod>2017-02-02</lastmod>
<priority>1</priority>
</url>
<url>
<loc>https://digitalgrowths.blogspot.com/page1</loc>
<changefreq>monthly</changefreq>
<lastmod>2017-04-17</lastmod>
<priority>0.8</priority>
</url>
<url>
<loc>https://digitalgrowths.blogspot.com/page2</loc>
<changefreq>monthly</changefreq>
<lastmod>2016-12-02</lastmod>
<priority>0.5</priority>
</url>
</urlset>
