Attempt to fix robots.txt blocking /blog/*.md for all bots

According to Semrush, 741b3bc01b added a
block for /blog/*.md for User-Agent: *, even though everything I can
read says that it shouldn't apply since the blocks are separated.

I tried reordering the rules and explicitly adding an `Allow: /` rule,
both to match what's shown on Google Search documentation[1].

[1]: https://developers.google.com/search/docs/crawling-indexing/robots/create-robots-txt,
and
This commit is contained in:
2025-09-08 19:27:12 -05:00
parent 94bfef19a1
commit f091b366be

View File

@@ -1,6 +1,8 @@
User-Agent: *
Sitemap: {{ "sitemap.xml" | absLangURL }}
{{/* It complains about the raw markdown output having no title tag */ -}}
User-Agent: Bingbot
Disallow: /blog/*.md$
User-Agent: *
Allow: /
Sitemap: {{ "sitemap.xml" | absLangURL }}