Enable at least some entities in Simple XML Sitemap by default

Created on 13 December 2024, 4 months ago

Problem/Motivation

When you install Drupal CMS with SEO tools recipe, it install the Simple XML Sitemap module. This module has Taxonomy term, Content and Custom menu link enabled in the configuration, but no bundles are enabled by default to be indexed. This will cause that the sitemap is by default empty, even there is (could be) a content on the site (like the blog, ...).

I suggest to enable Tags (from Taxonomy term), Main navigation (from Custom menu link) and all content types (from Content) to be included in the sitemap by default.

Steps to reproduce

Install Drupal CMS with SEO tools recipe + with a Blog recipe
Visit sitemap on /sitemap.xml to see that it is empty (only frontpage is here)
Visit sitemap config on /admin/config/search/simplesitemap/entities to see that nothing is included by default

Proposed resolution

Enable Tags (from Taxonomy term), Main navigation (from Custom menu link) and all content types (from Content) to be included in the sitemap by default. The menu links will also cover our views to be included in the sitemap.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Component

Track: SEO

Created by

πŸ‡ΈπŸ‡°Slovakia poker10

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024