Sitemaps are often referred to as Site Trees. The human-readable sitemaps are listed on the website, following a typical hierarchy showing a list of all the important website pages.
The search engine sitemap is often referred to as XML Sitemap. Google introduced this sitemap protocol based on the XML markup language.
This XML sitemap lists pages of a site according to their relative importance and how often they are updated. The page importance score must be between 0 and 1, 1 number being highly important and 0 as a low-priority page.
Web-crawlers find the sitemap link from the robots.txt file or if otherwise submitted to search engines directly, such as from Google Console for Google.
Enable XML / Image / Video / HTML Sitemaps
To enable an XML based sitemap, browse to SEO tab, and click XML / HTML Sitemap for the following screen to show up.
Just check Enable XML Sitemap and Save changes.
You will have to Flush Permalinks for the XML sitemap to work properly. You can click the Flush Permalinks button on the main SEO tab window.
That’s it; you can now click over View Sitemap to view your sitemap or directly browse it via typing http://example.com/sitemaps.xml/.
XML Sitemap Configuration
By default, the XML sitemap contains posts, pages, products, post categories, and post tags if they are available in your website.
However, you can individually choose to check items for including and uncheck to exclude items from the sitemap.
Enable XML Image Sitemaps
Browsing XML / Image / Video / HTML Sitemap page from the main SEO tab window, you can check Enable XML Image Sitemap to enable it.
That’s it, click Save now and you’re done. Your sitemap will now include standard images, image galleries, featured image, online store product images. These images will only be visible from a sitemap source code.
Enable HTML Sitemap
Browsing XML / Image / Video / HTML Sitemap page from the main SEO tab window, you can check Enable HTML Sitemap to enable it.
For displaying a human-visible sitemap on a post or page, just Enter a post/page ID or ID’s (comma separated) for it to display an HTML sitemap on that page.
If you wish to exclude certain pages or posts from Sitemap, you can do so by entering their ID”s in the next input box as well.
You can also choose the posts sorting order to be either descending or ascending and order them by date as well.
You can check “Disable the display of the publication date” to not display the publication date of any page, post or custom post types.
Submitting Sitemap via Google Console
You need to login at Google Search Console where you will see a Crawl link in left sidebar. Clicking it would open the available options underneath it. From there, you can click over Sitemaps.
Then click over Add/Test Sitemap link at the top right of the Sitemaps page.