The Canonical-URL header can be used to set the canonical URL of your web site, so that complete links can be created that will work when used beyond your own web site.
The canonical URL should be set to the first portion of the full URL for your web site, not including the path. For example, this is the canonical URL for this documentation web site:
https://documentation.uriel.foo
Uriel will prepend the canonical URL to the node URL path when a canonical link needs to be constructed.
This value only has any effect if it is set on the root node.
The Canonical-URL header must be set if you want to generate an RSS feed or a sitemap. See the RSS, Sitemap, robots.txt page for details.
The following substitution parameters construct relative URLs for the generated HTML pages, and canonical URLs when the RSS feed is generated:
The {{rss:url}} parameter always uses the canonical URL, on the generated HTML pages and in the RSS feed.
Tags: headers, root-node, rss, rss-headers, sitemap, sitemap-headers
This page was generated by Uriel with the following settings:
Page Details
| Resource | Path | Project File |
|---|---|---|
| Node | headers/canonical-url | nodes/headers/canonical-url |
| Template | default.html | templates/default.html |
| URL | /headers/canonical-url/ | public/headers/canonical-url/index.html |
Node Headers
| Header (Lowercase) | Value |
|---|---|
| tags | headers, rss, rss-headers, sitemap, sitemap-headers, root-node |
| title | Canonical-URL |
| +-tags | * |
| breadcrumb-separator | » |
| canonical-url | https://documentation.uriel.foo |
| rss-description | Uriel Documentation |
| rss-image-height | 32 |
| rss-image-url | /favicon-32x32.png |
| rss-image-width | 32 |
| rss-max-entries | 50 |
| rss-title | Uriel Documentation |
| rss-url | /rss.xml |
| sitemap-max-entries | 10000 |
| sitemap-url | /sitemap.xml |
| tag-node | tag |
| template | default.html |
Node Timestamps
| Type | Value |
|---|---|
| Created | |
| Modified | 2026-06-07T22:58:32-04:00 |
Node Methods
| Method | Value |
|---|---|
| get_parent_node() | headers/index |
| get_path() | headers/canonical-url |
| get_node_type() | file |
| get_url() | /headers/canonical-url/ |
| get_canonical_url() | https://documentation.uriel.foo/headers/canonical-url/ |
| get_name() | canonical-url |
| get_display_name() | Canonical Url |
| get_title() | Canonical-URL |
| get_escaped_title() | Canonical-URL |
| get_link() | <a href="/headers/canonical-url/">Canonical-URL</a> |
| get_canonical_link() | <a href="https://documentation.uriel.foo/headers/canonical-url/">Canonical-URL</a> |
| get_link_prefix() | <p> |
| get_link_suffix() | </p> |
| get_tags() | ['headers', 'root-node', 'rss', 'rss-headers', 'sitemap', 'sitemap-headers'] |
| get_dest_dir() | ./public/headers/canonical-url |
| get_dest_file() | ./public/headers/canonical-url/index.html |
| get_breadcrumb_separator() | » |