I want to optimize the sitelink on my website through the search console / webmaster
I want when searching on Google that appears are certain menus. for example menus, a, menu b and menu c
I am looking for some references. that we can set through the search console, only it requires a sitemap.xml that crawls first
so I accessed this https://www.xml-sitemaps.com/. I input my domain and click the start button. after the process is complete, i downloaded the xml sitemap file
my question is whether I directly upload the xml file to my hosting? or I need to edit it first to set what menus appear when typing keywords on google?
Update :
My xml like this :
<?xml version="1.0" encoding="UTF-8"?>
<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">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
<url>
<loc>https://www.mywebsite.com/</loc>
<lastmod>2019-10-13T23:46:01+00:00</lastmod>
<priority>1.00</priority>
</url>
...
<url>
<loc>https://www.mywebsite.com/menu-a</loc>
<lastmod>2019-10-13T23:46:01+00:00</lastmod>
<priority>0.80</priority>
</url>
...
<url>
<loc>https://www.mywebsite.com/menu-b</loc>
<lastmod>2019-10-13T23:46:01+00:00</lastmod>
<priority>0.64</priority>
</url>
</urlset>
there are 2000 lines of code, but here I only get a few