How to create a sitemap XML file for your Kyvio site
4 min
Created by Marvin on 4/14/2021 11:13 AM
Updated by Marvin on 10/11/2021 7:00 AM

 

A sitemap is an XML file listing all the important content on your website. Any page or file that you want to show up in search engines should be in your sitemap. Please note that there are plenty of other services that you can use to achieve the same thing but if you're asking for a recommendation then we suggest using the tool below.

 

Creating your Sitemap using Site Generator

 

If you wish to create a sitemap using a site generator, the process has two parts, which are:

1. Creating, downloading, and uploading your Sitemap XML file to your Kyvio 2.0 account. 

2. Verifying the domain ownership by adding a record on your DNS provider.

 

Please do take note: This only works if all of your pages are linked correctly. If they are not, then you’ll need to add them manually on the XML file as discussed below.


Step 1:

To help create an XML file for your site map, please follow the instructions below. 

 

Go to this website https://www.xml-sitemaps.com/ and put it in the domain of your website here: 

 

      



Give it some time to complete the search for all URLs of your website then it should look similar to this:

   

 

Click on the download button, and you get a file with the .xml file extension that you can upload to your Kyvio 2.0 account. Please don’t close this window as we need to check back on this for Step 2 of the process. 



On your Kyvio 2.0 account, click on the Current Site, choose the site you want to upload the sitemap to then select Edit Current Site: 

 

   



From there, click on the Upload button for Google Sitemap XML then select the XML file that you downloaded before. After uploading the file, make sure to select Save Site Settings to complete the process. 

 

    




Manually adding a URL to your Sitemap XML file. 

 

As mentioned above, the site generator works perfectly if all of the pages to your website are connected. In the instance that not all pages are captured, then you’ll have to manually add the URL to the XML file. If you have confirmed that all URLs are added in the XML file, then you may skip the instructions below and proceed to Step 3.


Step 2:

 

This step discusses how to check, and manually add URLs to your sitemap in cases that it does not capture all pages from your website. If you want to check your sitemap file for all the URL links, all you have to do is double-click on the sitemap.xml file that you downloaded using Step 1. It should look something like this:

        

If you wish to add more URLs from the link, all you have to do is to right-click on the sitemap.xml file then open with either Notepad or WordPad. Once opened, please use the code below to before the </urlset> on the file:

 

<url>

<loc>http://www.example.com/</loc>

<lastmod>2005-01-01</lastmod>

<changefreq>monthly</changefreq>

<priority>0.8</priority>

</url>

 

Make sure to replace the URL in the <loc> tag with the page you want to add then make sure to save the file after adding the pages. As for the <lastmod>, you'll need to add here the date on when you last modified date, if you don't remember then you can put on today's date. For <changefreq>, you can put here how often do you update that particular page. Please make sure to always use the correct frequency and the available values are daily, weekly, monthly, yearly, and never. Lastly, the </priority>, determines how important is the page to the website, and it can range from 0.0 to 1.0 with the default value at 0.5.

 

      



After adding all of the pages to your website, you can use the link before to check if your XML sitemap is formatted correctly: 

 

https://www.xml-sitemaps.com/validate-xml-sitemap.html

 

If successful, then you’ll get a similar notification below:

 

     



Step 3:

 

Go back to the page https://www.xml-sitemaps.com/ page where you downloaded your Sitemap XML file then click on the “Google Search console” link

 

          




Once a new window, you’ll be given two options on how to verify the domain ownership. Please use the first option on the left and input your domain WITHOUT https:// or http:// the select Continue.

 

      



After putting in your domain, you’ll be given instructions on adding a TXT record into the DNS configuration for your domain. 

 

      

 

Once you’ve set the records on your hosting account, go back to your Google Search Console page then click on Verify, and if all is in order, you will receive a message that ownership has been verified. 


After you've verified the ownership of the domain, proceed to go inside your Google Search Console > Sitemaps then add the URL of your sitemap under Add a new sitemap then click on Submit:


As for the URL, you can obtain it for your sitemap on your account by clicking on the Current Site, choose the site you want to upload the sitemap to then select Edit Current Site > Site Settings. From there click on the eye icon for Google Sitemap XML. 


Once you've hit on the Submit button to add your sitemap, you'll get this status once the process is successful: 

 

A few things to take note of:

Depending on how you setup your domain mapping in Kyvio 2.0, there are different actions you need to take to add in the TXT records:

If you use Option 1 via Nameservers - please Contact Us to add the record for you.

If you use Option 2 via CNAME - you can do this on your end by accessing your DNS provider.



Was this article useful?
Recently viewed