ComboStrap Routing - Permalink
Table of Contents
About
permalink are short links that will be permanently accessible even if the page is moved
How to create a permalink ?
Generated
A generated permalink is a link that uses the page id as path.
As the id is guaranteed to never change, it's the real / true permalink.
- You can add a permalink in your page with the permalink component.
<permalink/>
- Result: The generated permalink for this page is:
https://combostrap.com/0g957ppa77acns18gpgxx8
A generated permalink performs a permanent redirection to the page url
Named
A named permalink is a link that uses the canonical as path
Note that a canonical is not a true permalink as it may be modified (It should not but you never know)
- You can add a named permalink in your page with the permalink component:
<permalink named/>
- The named permalink for this page is:
https://combostrap.com/permalink
A named permalink performs a permanent redirection to the page url.
For the named permalink, you can set a default canonical value with the autocanonical feature. It allows to use this feature without setting the canonical value for each page.