patrickdemooij9 / SeoToolkit.Umbraco

SeoToolkit is a SEO package for Umbraco 9, 10, 11, 12 & 13. This package features most functionalities needed for your SEO needs like meta fields, sitemap, robots.txt and much more.
MIT License
37 stars 28 forks source link

robots.txt sitemap values are incorrect #164

Closed kmai-universe closed 1 year ago

kmai-universe commented 1 year ago

SeoToolkit produces the following output in the robots.txt file:

Sitemap: /sitemap.xml Sitemap: /en/sitemap.xml etc.

It is not allowed to use relative paths in the robots.txt file. See here: https://developer.chrome.com/docs/lighthouse/seo/invalid-robots-txt/?utm_source=lighthouse&utm_medium=lr

This makes pagespeed.web.dev produce an error.

Correct format should be:

sitemap: https:///sitemap.xml sitemap: https:///en/sitemap.xml

patrickdemooij9 commented 1 year ago

Hi @kmai-universe That is indeed not the correct value. I'll make sure that it gets fixed in the next couple days!

patrickdemooij9 commented 1 year ago

Fixed by https://github.com/patrickdemooij9/SeoToolkit.Umbraco/issues/164. Will be released soon