Text to Slug

Turn a page title into a short path segment and inspect what the conversion changes.

Turn a page title into a short path segment and inspect what the conversion changes.

How to use

  1. Use Café Menu & Opening Hours as the title to test spaces, punctuation and accents.
  2. Convert the title and compare its words with the slug.
  3. Check that the accent and ampersand disappeared and the words are separated by hyphens.

Worked example

Input

Café Menu & Opening Hours

Expected result

cafe-menu-opening-hours

Check the result

The expected path segment is cafe-menu-opening-hours.

Continue with another guide

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies