Closed (fixed)
Project:
Simple XML sitemap
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
25 Sep 2018 at 13:17 UTC
Updated:
21 Jun 2022 at 13:52 UTC
Jump to comment: Most recent
In 2.x simple_sitemap hooks to robotstxt and adds a Sitemap: ... entry into the dynamically generated robots.txt file.
As 3.x has a much more abstract approach to sitemap generation, the module should not assume that the default sitemap is to be included in robots.txt, as any sitemap variant may or may not be used for the purpose of content indexation through search engines.
Therefore it should be up to the site builder to use the robotstxt hook and simple_sitemap's API to include any sitemap variants into robots.txt.
Comments
Comment #3
gbyteComment #5
promo-il commentedNo need to impose what and how. As much, he chooses what is needed. And it is necessary to implement this option in the settings.