logo
Slugs and browserSlugs overview
Slugs and browser

Slugs overview

What bookmark slugs are, how /go/ forwarding resolves a slug to a bookmark, and how slugs connect to browser shortcuts.

What you get from slugs

A slug is a short keyword you attach to a bookmark. When Enable Forwarding is on and a slug is set, SlugBase can send visitors from a short path to that bookmark’s URL. The usual pattern is /go/ followed by your slug on your SlugBase site (for example https://your-server.example/go/docs).

Self-hosted SlugBase uses the same slug and forwarding behavior as the core app. You run both the web UI and the API that serves GET /go/:slug.

How slugs appear in the app

IdeaIn the UI
Keyword fieldSlug on the bookmark form
Optional shortcutHint: Leave empty if you don't need a custom slug
Turn forwarding onEnable Forwarding (a slug is required when forwarding is enabled)
UniquenessSlug already exists. Slugs must be unique across all bookmarks.

The database enforces this as one slug per tenant: two bookmarks cannot share the same slug text within a single SlugBase tenant (self-hosted is one tenant for the whole instance—every workspace you use still counts as the same data set). SlugBase Cloud is multi-tenant: each organization is its own tenant, so unrelated orgs can each use the same slug string without conflicting. A disambiguation page for “multiple matches” and Remembered Slug Choices in Go preferences are defensive or legacy UI; with current enforcement you should not hit multiple bookmarks for one slug under normal use.

Opening a bookmark by slug

  • Address bar or link: Visit /go/ plus your slug on your SlugBase origin (same shape as …/go/docs). You must be signed in; if you are not, you are redirected to login and then back to that path.
  • Command palette: Open the palette (Ctrl+K / ⌘K). Type go and a space, then the slug (or paste a path that starts with /go/). Results appear under Go; Enter opens the forwarding URL for that slug.

The dashboard Quick access section highlights bookmarks you open most often via these shortcuts (Shortcut / Domain metadata).

Set up your browser’s address bar

To type a keyword (for example go), a space, and your slug—like a search engine—follow Browser setup. That guide matches the in-app Custom Search Engine Setup Guide (/search-engine-guide).