About
This feature provides a default value to the router for the canonical path based on the last parts of the page path.
It allows therefore a named permalink redirect based on the canonical.
There is no automatic canonical created for the slots as they are not intended to be accessed directly.
Example
For example, if you have a page path with the value
:seo:backlink
This feature will:
- not create a canonical if the minimal number of name configuration is 0
- create a canonical of:
- backlink if the minimal number of name configuration is 1
- seo:backlink if the minimal number of name configuration is 2
Configuration
If the configuration MinimalNamesCountForAutomaticCanonical has a value of:
- 0 disable this feature
- 1 will create a canonical with the first last name part
- 2 will create a canonical with the last two name parts
- For small website, this configuration is set to 1
- For bigger website, this configuration is set to 2
To have a value above 2 is not really common and should be avoided.