don't reach for the salt!

OK not the slimy things in the garden, but a programming term.

The term 'slug' comes from the world of newspaper production.

It's an informal name given to a story during the production process. As the story winds its path from the beat reporter (assuming these even exist any more?) through to editor through to the "printing presses", this is the name it is referenced by, e.g., "Have you fixed those errors in the 'kate-and-william' story?".

So you can think of slugs as something you see that you can relate in plain language.

Web pages have addresses which are called URLs and, as Wikipedia puts it:

A Uniform Resource Locator (URL), colloquially termed a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifier (URI), although many people use the two terms interchangeably. URLs occur most commonly to reference web pages (http), but are also used for file transfer (ftp), email (mailto), database access (JDBC), and many other applications.

Most web browsers display the URL of a web page above the page in an address bar. A typical URL could have the form, which indicates a protocol (http), a hostname (, and a file name (index.html).

It is all very well but frequently the address is a series of unmemorable numbers.

Enter the slug.

The address for this page is

The slug is at the end - here "slugs".

Or the home page is Here a phrase is converted into a phrase with hyphens.

Don't worry about it. It is done automatically and if you change the name of a page the slug is updated.

White Label Site

16 The Maltings, Stanstead Abbotts, Hertfordshire SG12 8UU

2021 TDB Computing. All rights reserved.  TDB - Masters of the Machine - White Label Site