You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[dnb.robots.useragents]]
name = "*"disallow = ["/cdn-cgi/"]
This will lead to two separate User-agent: * sections. One when the local configuration is parsed and one when the global disallow via frontmatter is ranged.
Fix: check in the first range for name and if it's * move the items to the global range.
The text was updated successfully, but these errors were encountered:
davidsneighbour
changed the title
hugo-robots: User-agent: * might appear twice in robots.txt
bug in robots: User-agent: * might appear twice in robots.txt
Aug 5, 2024
davidsneighbour
changed the title
bug in robots: User-agent: * might appear twice in robots.txt
robots: User-agent: * might appear twice in robots.txt
Aug 5, 2024
Given that users could configure for instance:
This will lead to two separate
User-agent: *
sections. One when the local configuration is parsed and one when the global disallow via frontmatter is ranged.Fix: check in the first range for
name
and if it's*
move the items to the global range.The text was updated successfully, but these errors were encountered: