b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Glossary
  3. Generic vocabulary
  4. Slug

Slug

The slug is the last part of an URL which uniquely identifies a page/resource on your b2evolution installation.

For example, let’s consider an URL like http://www.mysite.com/cat/subcat/hello-world. In this case, the slug is hello-world.

Different types of slugs

Most slugs will reference posts/items or standalone pages.

However some slugs can have a special purpose, such as the help slug which is configured by default as the help page, which will display disp = help.

In a future version of b2evo, categories will also use unique slugs from the slug list.

Post/Item slugs

The slug for each Post can also be found in the Post Advanced Properties Panel:

Slug
In this case, the slug of the post is "first-post"

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.

Tags: tiny url, tiny urls
Created by fplanque • Last edit by fplanque on 2020-06-09 00:25 • •

No feedback yet

On this page

  • Different types of slugs
  • Post/Item slugs
  • Multiples slugs / Uniqueness
  • Tiny slug
  • Canonical slug

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
    • All terms
    • Blog vocabulary
    • CMS vocabulary
    • Emailing vocabulary
    • Forum vocabulary
    • Generic vocabulary
      • API
      • Admin Interface
      • After more position
      • Anonymous User
      • Author
      • Back-Link
      • Back-Office
      • Base URL
      • Bubble Tips
      • CamelCase
      • Category
      • Collection
      • Collection Admin
      • Collection Member
      • Collection Owner
      • Collection Template List
      • Comment
      • Container
      • Content Block
      • Content Moderator
      • Cover position
      • DB
      • Datetime
      • Editor
      • Extra Categories
      • FTP
      • Fallback position
      • File Root
      • Front Office
      • Front Page
      • Full-Access Collection Admins
      • Group Level
      • Home Page
      • Info Page
      • Info Page
      • Inline position
      • Intro Post
      • Intro-Sub
      • Intro-Tag
      • Issue Date
      • Item
      • Item Tag
      • Item Types
      • Item Usage
      • Keyboard Shortcuts
      • Logged-in User
      • Main Category
      • Mass Edit
      • Meta Category
      • Meta Comments
      • Moderator
      • Owner
      • PHP
      • Permalink
      • Ping
      • Post
      • Post ID
      • Private Message
      • Quick moderation
      • Recently Edited Posts
      • Renderer Plugins
      • Request Title
      • Section
      • Site Admin or System Admin
      • Site Member or Authenticated User
      • Site Visitor
      • Skin or evoSkin
      • Skins Repository
      • Slug
      • Standalone Page
      • Stub File
      • Teaser
      • Teaser position
      • Themes
      • Tiny Slug
      • UI
      • User Account
      • User Admin
      • User Community
      • User Group
      • User Level
      • User Moderator
      • User Permissions
      • Website
      • Widget
      • Widget Page
      • Workflow
      • evoBar
    • Manual vocabulary
    • Technical vocabulary
  • Archives
Photo albums software

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque