Understand “slug” as part of a web URL

meaningword-meaning

How to understand "slug" as part of a web URL?

When I look for "slug" in a dictionary, this is what I get:

  1. an animal slug
  2. a metal slug

How to understand the relationship between "URL slug" and the meanings below?

I found a blog page What is a URL Slug & How to Use Them Successfully in Your SEO Strategy?, this may be helpful.

Best Answer

Wikipedia* claims its usage is derived from (offline) publishing:

In newspaper editing, a slug is a short name given to an article that is in production. The story is labeled with its slug as it makes its way from the reporter through the editorial process.

...

The origin of the term slug derives from the days of hot-metal printing, when printers set type by hand in a small form called a stick. Later huge Linotype machines turned molten lead into casts of letters, lines, sentences and paragraphs. A line of lead in both eras was known as a slug.

That matches one of the dictionary definitions in Merriam-Webster:

6 a : a strip of metal thicker than a printer's lead
   b : a line of type cast as one piece
   c : a usually temporary type line serving to instruct or identify

*: hey, we're mentioned there :)

Related Topic