Permalink vs URL vs slug vs canonical
A URL is the address, a slug is the last segment, a permalink is a URL promised to be permanent, a canonical is the version you tell search engines to index.
Aspect | URL | Slug | Permalink | Canonical |
|---|
Scope | Any address | One path segment | URL that must not change | Self-referencing meta |
Format | Full | my-post
| Full URL | rel=canonical
|
Lifetime | Ephemeral | Ephemeral | Permanent | Current version |
Used by | Everyone | Humans | Citations, links | Search engines |