Breaking News

Sitemap XML Format

Sitemaps are two types:

1. HTML Sitemaps

2. XML Sitemaps

HTML Sitemaps [Hypertext Markup Language Sitemaps]:

HTML Sitemaps are very important to allow users or visitors to navigate the website.

Every URL or Web page link is placed in the HTML sitemaps.

The anchor text is displayed in the HTML page, but the anchor text is linked to the page its reference.

Users or Visitors are unable to find every page or topic by searching the google or website header menu. But, The Every link or page or topic finding in the HTML Sitemap Page, So easy to navigate the whole page.

XML Sitemaps:

Sitemaps Can also create XML Sitemaps Format and Submitted to the search engines.

The Search Engine Crawls every URL or link on the website.

Using the sitemap.xml, The search engine indexed every page or link in the website and shows the errors, updates, non-indexed URLs, and excluded URLs

Sitemap.xml Tags Details

  1. Loc [location] Tag is Important and Compulsory
  2. Lostmod, Change freq and Priority Tags are optional
  3. XML Sitemap should be added to the root directory of the website
  4. All URLs must come from the same host
  5. Canonical Version of all pages URLs should be included
  6. The maximum length of the URLs is 2048 characters
  7. you might need multiple XML sitemaps if you have more than 50000 URLs within a site or if one sitemap exceeds 10MB

How To Prepare XML Sitemaps Format Manually

Example: <sitemapindex> file

<sitemapindex xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=”http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd”>

<sitemap>
<loc>https://xyz.com/main-sitemap.xml </loc>
</sitemap>
<sitemap>
<loc> https://xyz.com/service-sitemap.xml </loc>
</sitemap>
<sitemap>
<loc> https://xyz.com/products-sitemap.xml </loc>
</sitemap>

You will replace the xyz.com to your website.

services, products, etc are the company categories. You will plan to divide sitemaps according to category wise. It is easy to Maintain and understand the sitemap XML without confuse.

Note: A sitemapindex file can link up to 50000 xml sitemap file.

  1. Example of how to design ” main-sitemap.xml “

https://xyz.com/main-sitemap.xml

<urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd”>

<url>
<loc>https://xyz.com/</loc>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://xyz.com/service</loc>
<changefreq>daily</changefreq>
<priority>0.85</priority>
</url>
<url>
<loc>https://xyz.com/products</loc>
<changefreq>daily</changefreq>
<priority>0.85</priority>
</url>
</urlset>

2. Example of how to design ” service-sitemap.xml “

<urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd”>

<url>
<loc>https://xyz.com/service/keyword-1</loc>
<lastmod>2019-03-23</lastmod>
<changefreq>weekly</changefreq>
<priority>0.85</priority>
</url>
<url>
<loc>https://xyz.com/service/keyword-2</loc>
<lastmod>2019-03-23</lastmod>
<changefreq>weekly</changefreq>
<priority>0.85</priority>
</url>
</urlset>

3. Example of how to design ” products-sitemap.xml “

<urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd”>

<url>
<loc>https://xyz.com/product/product-1</loc>
<lastmod>2019-03-23</lastmod>
<changefreq>weekly</changefreq>
<priority>0.85</priority>
</url>
<url>
<loc>https://xyz.com/product/product-2</loc>
<lastmod>2019-03-23</lastmod>
<changefreq>weekly</changefreq>
<priority>0.85</priority>
</url>
</urlset>

Note: According to your website business ,You can change the product or service URLs

List of sitemap file types:

Html Sitemaps
Video Sitemaps
Mobile Sitemaps
News Sitemaps

Check Also

Google Broad Core Algorithm Update

Latest Google Algorithm Updates 2018 Broad Core Algorithm Updates Broad Core Algorithm Update Release Date …

Leave a Reply

Your email address will not be published. Required fields are marked *