How to build and submit a xml sitemap on Google for Indexing


How to build and submit a xml sitemap on Google for Indexing

 

Why you should create xml sitemap and submit it in gogole?

If you submit xml sitemap on google then Google will crawl/index auto your site.

No need submit urls singly submitting on google.

 

Just make a xml file using yoursite url and following codes.

 

Single Page Site Map’s example

 

 <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> 
  <url>
    <loc>http://www.example.com/foo.html</loc>
    <lastmod>2018-06-04</lastmod>
  </url>
</urlset>

 

Multi Pages Site map’s Example

 

 <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> 
  <url>
    <loc>http://www.example.com/foo.html</loc>
    <lastmod>2018-06-04</lastmod>
  </url>
  <url>
    <loc>http://www.example.com/1.html</loc>
    <lastmod>2018-06-05</lastmod>
  </url>
  <url>
    <loc>http://www.example.com/2.html</loc>
    <lastmod>2018-06-06</lastmod>
  </url>
</urlset>

 

How to submit xml sitemap on Google for indexing.

If you have already added your site on google then do following tip.

 

1. Go to  https://search.google.com/search-console/sitemaps?resource_id=http://domain.com

 

2. Put xml sitemap like following way.

 

 

3. Click On Submit.

 

4. Done….

 

If you have any question then ask below.

 



Find More related How to build and submit a xml sitemap on Google for Indexing


Have any Question or Comment?

Leave a Reply

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