Post/Item slugs

Multiples slugs / Uniqueness

Resources like Posts/Items can have multiple slugs (aliases) but one slug always points to only one resource.

Slugs are unique within a b2evolution instance and cannot have duplicates, even in two different Collections. This allows b2evolution to find a resource when someone links to it with an old URL and it’s later moved to a new URL (New blog/collection, new URL scheme, new category, etc.)

The list of all slugs can be edited through the back-office > System > Slugs.

Tiny slug

Posts/Items will automatically get "Tiny Slugs" like for example Ay4 so you can automatically use "tiny URLs" to link to your posts on social media sites such as Twitter, like for example http://www.mysite.com/Ay4

Canonical slug

When an Item has multiple slugs, one of them will be canonical, which means that if you call the item with any other (secondary) slug (including its tiny slug) you will be redirected to the canonical slug/canonical URL.

The canonical slug is the one that appears first in the list of slugs for an post.