Closed FBruynbroeck closed 4 months ago
In the robots.txt file, the value of the sitemap field is a relative URL. This should be changed to an absolute URL. See protocol: https://sitemaps.org/protocol.html#submit_robots
For example, in the Google search console, this error message appears when it's a relative url:
"Invalid sitemap URL" incomprehensible syntax
I think it would be interesting to have a default sitemap field in the right format using root_url.
root_url
What do you think of this change?
Good catch, thanks!
Description of change
In the robots.txt file, the value of the sitemap field is a relative URL. This should be changed to an absolute URL. See protocol: https://sitemaps.org/protocol.html#submit_robots
For example, in the Google search console, this error message appears when it's a relative url:
I think it would be interesting to have a default sitemap field in the right format using
root_url
.What do you think of this change?