mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-09-12 05:57:35 -05:00
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:
@@ -1,6 +1,8 @@
|
|||||||
User-Agent: *
|
|
||||||
Sitemap: {{ "sitemap.xml" | absLangURL }}
|
|
||||||
|
|
||||||
{{/* It complains about the raw markdown output having no title tag */ -}}
|
{{/* It complains about the raw markdown output having no title tag */ -}}
|
||||||
User-Agent: Bingbot
|
User-Agent: Bingbot
|
||||||
Disallow: /blog/*.md$
|
Disallow: /blog/*.md$
|
||||||
|
|
||||||
|
User-Agent: *
|
||||||
|
Allow: /
|
||||||
|
|
||||||
|
Sitemap: {{ "sitemap.xml" | absLangURL }}
|
||||||
|
Reference in New Issue
Block a user