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. All terms
  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
      • API
      • Admin Interface
      • After more position
      • Anonymous User
      • Article
      • Author
      • Back-Link
      • Back-Office
      • Blog Client
      • Blog Member
      • Blog or Weblog
      • Blogger
      • Book
      • Bootstrap Framework
      • Bubble Tips
      • CCMS
      • CMS
      • CamelCase
      • Category
      • Chapter
      • Collection
      • Collection Admin
      • Collection Member
      • Collection Owner
      • Comment
      • Cover position
      • Datetime
      • Display-Time vs Save-Time
      • Editor
      • Email Campaign
      • Email Sequence
      • Extra Categories
      • FTP
      • Fallback position
      • Forum
      • Front Office
      • Front Page
      • Full-Access Collection Admins
      • Group Level
      • HTTP Referer
      • Home Page
      • Info Page
      • Info Page
      • Inline position
      • Installed Plugins
      • Intro Post
      • Intro-Sub
      • Intro-Tag
      • Issue Date
      • Item
      • Item Tag
      • Item Types
      • Link Blog
      • Logged-in User
      • Mailing List
      • Main Category
      • Manual Page
      • Meta Category
      • Meta Comments
      • Moderator
      • Newsletter
      • Newsletter Issue
      • Newsletter Subscription
      • Notification
      • Online Manual
      • Owner
      • PHP
      • Permalink
      • Photoblog
      • Ping
      • Post
      • Post ID
      • Prerendering Cache
      • Private Message
      • Quick moderation
      • Recipient
      • Renderer Plugins
      • Reply
      • Responsive Web Design (RWD)
      • SMTP
      • Scheduled Job
      • Scheduled Task
      • Scheduler
      • Section
      • Site Admin or System Admin
      • Site Member or Authenticated User
      • Site Visitor
      • Skin or evoSkin
      • Skins Repository
      • Slug
      • Stub File
      • Subscriber
      • Subscription
      • Teaser
      • Teaser position
      • Themes
      • Topic
      • UI
      • Update Notification
      • Update Subscription
      • User Account
      • User Admin
      • User Community
      • User Group
      • User Level
      • User Moderator
      • User Permissions
      • Webmentions
      • Website
      • Workflow
      • evoBar
    • Blog vocabulary
    • CMS vocabulary
    • Emailing vocabulary
    • Forum vocabulary
    • Generic vocabulary
    • 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