## Part 1
# Go to {nav Website & Content > Structure & Data} section.
# Choose category, that has associated physical template (e.g. `No Permissions`).
# Delete that category.
# Go to {nav Configuration > Website > Themes} section.
# Press `Rescan Themes` button.
# Refresh page (`F5`).
# Confirm that deleted category was created automatically.
## Part 2
# Go to {nav Website & Content > Structure & Data} section.
# Choose category, that has associated physical template (e.g. `No Permissions`).
# Delete that category.
# Put `<IN_SITEMAP>always</IN_SITEMAP>` in meta comment of associated template.
# Go to {nav Configuration > Website > Themes} section.
# Press `Rescan Themes` button.
# Confirm that exception about invalid `in_sitemap` value is shown.
## Part 3
NOTE: Please repeat below steps with `no`, `false` and `0` values.
# Go to {nav Website & Content > Structure & Data} section.
# Choose category, that has associated physical template (e.g. `No Permissions`).
# Delete that category.
# Put `<IN_SITEMAP>no</IN_SITEMAP>` in meta comment of associated template.
# Go to {nav Configuration > Website > Themes} section.
# Press `Rescan Themes` button.
# Confirm, that deleted category was created automatically.
# Confirm, that created category has `Include in Sitemap` checkbox unchecked.
## Part 4
NOTE: Please repeat below steps with `yes`, `true` and `1` values.
# Go to {nav Website & Content > Structure & Data} section.
# Choose category, that has associated physical template (e.g. `No Permissions`).
# Delete that category.
# Ensure `<IN_SITEMAP>yes</IN_SITEMAP>` in meta comment of associated template.
# Go to {nav Configuration > Website > Themes} section.
# Press `Rescan Themes` button.
# Confirm, that deleted category was created automatically.
# Confirm, that created category has `Include in Sitemap` checkbox unchecked.
## Part 5
# Go to {nav Website & Content > Structure & Data} section.
# Choose category, that has associated physical template (e.g. `No Permissions`).
# Delete that category.
# Remove the `<IN_SITEMAP>...</IN_SITEMAP>` from meta comment of associated template.
# Go to {nav Configuration > Website > Themes} section.
# Press `Rescan Themes` button.
# Confirm, that deleted category was created automatically.
# Confirm, that created category has `Include in Sitemap` checkbox checked.
## Part 6
# Go to {nav Website & Content > Structure & Data} section.
# Choose category, that has associated physical template (e.g. `No Permissions`).
# Delete that category.
# Put the `<IN_SITEMAP/>` in meta comment of associated template.
# Go to {nav Configuration > Website > Themes} section.
# Press `Rescan Themes` button.
# Confirm, that deleted category was created automatically.
# Confirm, that created category has `Include in Sitemap` checkbox checked.
## Part 7
# Go to {nav Configuration > Website > Output} section.
# Confirm that `Sections hidden from Sitemap` system setting is present and has `Always Shown in Catalog` value.
# Go to {nav Website & Content > Structure & Data} section.
# Uncheck `Include in Sitemap` checkbox for any category.
# Confirm, that regardless of debug mode (enabled or disabled) that category is visible:
* in catalog
* in `Parent Section` dropdown during category editing
* in internal pages dropdown, when adding link in CKEditor
## Part 8
# Go to {nav Configuration > Website > Output} section.
# Change `Sections hidden from Sitemap` system setting value to `Shown in Catalog Only in Debug Mode`.
# Go to {nav Website & Content > Structure & Data} section.
# Confirm, that with debug mode enabled category with `Show in Sitemap = No` checkbox is visible:
* in catalog
* in `Parent Section` dropdown during category editing
* in internal pages dropdown, when adding link in CKEditor
# Confirm, that with debug mode disabled that category with `Show in Sitemap = No` checkbox is hidden:
* from catalog
* from `Parent Section` dropdown during category editing
* from internal pages dropdown, when adding link in CKEditor
## Part 9
# Go to {nav Website & Content > Structure & Data} section.
# Edit some categories, to ensure both possible `Include in Sitemap` values - `Yes` and `No` - among different categories.
# Launch `generate_sitemap` scheduled task.
# Confirm, that is created `system\user_files\sitemaps\sitemap.xml.gz` file.
# Confirm, that `system\user_files\sitemaps\sitemap.xml.gz` file contains info about categories, included in sitemap, and does not contain info about others categories.
## Part 10
# select `simple` theme
# change `privacy.tpl` of this theme - ensure `<SECTION>Folder</SECTION>` in the header part
# delete `Privacy Policy` category from catalog
# go to {nav Configuration > Website > Themes} section
# press `Rescan Themes` button
# confirm, that `Folder` category was created automatically an it has `Include in Sitemap` checkbox unchecked