Free Web Development Online Tutorials, Learn to Code
What is Sitemap.xml file, Create Sitemap and Submit to Google Webmaster and Bing Webamster

What is Sitemap?

Sitemap is a organised structure of all webpage links in a single document, sitemap helps user and search engines to navigate the through all pages easily, so there can be different format sitemap, but xml sitemap is most important for any website, because sitemap.xml file is submitted to all search engine for crawling the website. Sitemap is very important for SEO.

XML Sitemap Structure

XML sitemap is designed for search engines, you need to submit this particular file to all search engines like Google, Bing etc.

Here is the right format for xml sitemap , you need to add all your urls in following format

<?xml version="1.0" encoding="UTF-8"?>
<urlset>
  <url>
    <loc>https://www.webtrainingroom.com</loc>
    <lastmod>2019-08-14T17:47:09+00:00</lastmod>
    <priority>1.00</priority>
  </url>  
 </urlset> 

Create sitemap using sitemap generator

There are many free sitemap generator tools , but my favourite is xml-sitemaps free sitemap generator for up to 500 urls, if your website is big you can go for paid their paid service.

Here is how i generated my website sitemap files

Add Sitemap to Google

Once you have created sitemap for your website, upload the file in root of your website, then you need to login to your Google webmaster console panel, click on sitemap like on left navigation , then set the sitemap file name, (ideally should be sitemap.xml).

add sitemap.xml to google

Similarly you can submit your sitemap to Bing webmaster tool from your Bing console panel.

Now as I said sitemap is not only for search engine, but also important for your site users visiting your website, someone may would like to see all important links in one page, then can navigate wherever they want, for example see at below i have put up all my important links under different categories, so for any user can find them quickly.

eLearning Courses and Free Tutorials

WebTrainingRoom.Com is an Free Online Learning Website for online courses, web designing, development, digital marketing, seo; we publish many free tutorials for beginners and professionals, before your learn about our online courses check free tutorial, learn it online.

Learn IT online step by step, web designing, development, marketing, Learn new skills, pursue your interests, and build up your career

 
Online Learning Website

Free Online Courses