Any public websites need an XML sitemap, it will help in publishing the websites' content and be available on the search engine for example Google. The XML sitemap will describe your content publicly in general if it was news, article, and etc.
By default on Varbase, there are default roles who can manage XML Sitemap and they are:
As a Super admin, Site admin, or SEO admin, navigate to Administration \ Configurations \ Search and metadata \ Simple XML Sitemap.
After navigating to the XML sitemap section, there are three main sub-section:
Status - Sitemap can be regenerated and rebuild.
Variants - This part is where you can create more than one sitemap.
Settings: This is the most important section, we will explain more in the below section.
Entities - Here is where you include/exclude entities for example content types from the sitemap.
Custom links: Here is where the user can add a custom link to be indexed in the XML sitemap.
This is the most important section, to navigate to the XML settings page: Administration \ Configurations \ Search and metadata \ Simple XML Sitemap \ Settings
The user can set the sitemap to be generated after cron runs.
The Sitemap can be styled by displaying it as tables with sortable entries and thus become much friendlier towards human visitors.
The sitemap can be included/excluded in a certain language, with the removal of the hreflang from the sitemap.
In "Advanced settings", there is a field "Default base URL" where users can insert the final domain production link to avoid the sitemap from displaying the development links. Also, there is a field "Maximum links in sitemap" where users can set the numbers of links to be displayed in the sitemap.
Users can include or exclude any entity on the site in the sitemap for example: Content-types, custom block, menus, entityqueues, taxonomy term, and user profiles to be indexed in the sitemap. To navigate to the XML sitemap inclusion page: Administration \ Configurations \ Search and metadata \ Simple XML Sitemap \ XML Sitemap Inclusion
SEO admin roles nor Site admin role can't include the XML sitemap to a specific content-type unless if the user has a Super admin role then the user can include the content-type to be indexed in the XML sitemap.
Let us take a Super admin role, remember this role can manage everything on the site. Now let us include the content-type to the XML sitemap, navigate to: Administration \ Structure \ Content-type. After navigating to the content types page, click the drop-down arrow on any content-type for example "Blog post" then click "Edit".
In the content-type "Blog post" editorial page:
Scroll down and click "Simple XML sitemap"
Under "Sitemap variants" open the "Default" accordion field.
Select the second choice "Index entities of type Blog post in variant Default"
Then a set of settings will appear "Priority", "Change frequency" and "Include images"
We are not finished yet! Now let us go back to the XML sitemap inclusion page to check if the content types are in fact being indexed in the XML sitemap.