Exclude and include content types from the sitemap
Exclude a type from the sitemap from all sites
- Navigate to Administration » Settings » Advanced » Sitemap » Excluded Types.
- Click Create new.
- In Type Name, enter full name of the type you want to exclude.
For example, enterTelerik.Sitefinity.News.Model.NewsItem - When the type has child types, select Exclude Type Children, if you want to exclude the child types also.
For example, if you have a hierarchical dynamic module and you want to exclude the child types as well. - Save your changes.
RESULT: The above example excludes all news items from the sitemap, regardless of whether their Include in sitemap property is selected. They are excluded from all sites in a multisite environment.
Exclude a type from the sitemap for a particular site
PREREQUISITES: You must have generated the sitemap at least once.
- Navigate to Administration » Settings » Advanced » Sitemap.
- Expand SiteConfigs.
All of the sites are listed with their IDs. - Click the site where you want to exclude a type.
- Click Excluded Types.
- In Type Name, enter full name of the type you want to exclude.
For example, enterTelerik.Sitefinity.News.Model.NewsItem - When the type has child types, select Exclude Type Children, if you want to exclude the child types also.
For example, if you have a hierarchical dynamic module and you want to exclude the child types as well. - Save your changes.
Explicitly include a type in all sites
- Navigate to Administration » Settings » Advanced » Sitemap » Excluded Types.
- Click Create new.
- In Type Name, enter full name of the type you want to include.
For example, enterTelerik.Sitefinity.News.Model.NewsItem - Select Include Explicitly Type.
- Save your changes.
NOTE: You may want to include explicitly a type, if you have a type with many child types and you want to include only one. Then, it is faster to first exclude all of the child types of the type and then include only one.
Explicitly include a type in one particular site
- Navigate to Administration » Settings » Advanced » Sitemap.
- Expand SiteConfigs.
All of the sites are listed with their IDs. - Click the site where you want to include a type.
- Click Excluded Types.
- In Type Name, enter full name of the type you want to include.
For example, enterTelerik.Sitefinity.News.Model.NewsItem - Select Include Explicitly Type.
- Save your changes.
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.