HCS.Meta.Robots
2.0.0
dotnet add package HCS.Meta.Robots --version 2.0.0
NuGet\Install-Package HCS.Meta.Robots -Version 2.0.0
<PackageReference Include="HCS.Meta.Robots" Version="2.0.0" />
<PackageVersion Include="HCS.Meta.Robots" Version="2.0.0" />
<PackageReference Include="HCS.Meta.Robots" />
paket add HCS.Meta.Robots --version 2.0.0
#r "nuget: HCS.Meta.Robots, 2.0.0"
#:package HCS.Meta.Robots@2.0.0
#addin nuget:?package=HCS.Meta.Robots&version=2.0.0
#tool nuget:?package=HCS.Meta.Robots&version=2.0.0
HCS.Meta.Robots
Umbraco package that serves robots.txt and llms.txt from configuration. Robots defaults to deny-all unless explicitly enabled — ideal for multi-environment setups. LLM support serves structured content to AI crawlers at /llms.txt.
Installation
dotnet add package HCS.Meta.Robots
Requires Umbraco v10.4+.
robots.txt
Add to appsettings.json:
"HCS": {
"Meta": {
"RobotsEnabled": true,
"RobotsEntries": [],
"RobotsAddToDefault": false
}
}
When RobotsEnabled is false (default), all agents are disallowed. When enabled with an empty RobotsEntries, sensible Umbraco defaults are served.
Set RobotsAddToDefault: true to append your RobotsEntries after the defaults rather than replacing them.
Routes: /robots.txt, /{local}/robots.txt
llms.txt
Serves structured content to LLM crawlers following the llms.txt convention.
Routes: /llms.txt, /{local}/llms.txt
Quick start — file-based
"HCS": {
"Meta": {
"Llms": {
"LlmsEnabled": true,
"DefaultTitle": "My Site",
"DefaultFilePath": "llms/default.md"
}
}
}
Place a markdown file at <ContentRoot>/llms/default.md. It is served as-is.
Per-domain configuration
"HCS": {
"Meta": {
"Llms": {
"LlmsEnabled": true,
"DefaultTitle": "My Site",
"Configurations": [
{
"Domain": "example.com",
"Name": "Example Site",
"Summary": "A short description of this site.",
"AdditionalNotes": "Extra context for LLMs.",
"Sections": [
{
"Title": "Documentation",
"Url": "/docs",
"Description": "Full documentation."
}
]
}
]
}
}
}
Set FilePath on a configuration entry to serve a .md or .json file for that domain instead of using the inline fields.
JSON file format
{
"name": "My Site",
"summary": "A short description.",
"additionalNotes": "Extra notes.",
"sections": [
{ "title": "Docs", "url": "/docs", "description": "Documentation." }
]
}
Relative file paths resolve from ContentRootPath.
For full documentation and source, see the GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Umbraco.Cms.Web.Website (>= 17.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.