Create SEO friendly URLs from page titles

Description: Convert these page titles into SEO friendly URL slugs: “10 Tips to Write Better Titles!”, “SEO & Content: A Beginner’s Guide”, “Best Running Shoes (2026 List)”.

Hint:

  • Use lowercase, replace spaces with hyphens, and remove special characters. You can also remove small words like “to” and “a” to make it shorter.

Solution

Result

10 Tips to Write Better Titles! => /10-tips-to-write-better-titles/
SEO & Content: A Beginner's Guide => /seo-and-content-a-beginners-guide/
Best Running Shoes (2026 List) => /best-running-shoes-2026-list/

We can make them even shorter by hand, for example /write-better-titles/, /seo-content-beginners-guide/ and /best-running-shoes/.

How it works

  • The script changes everything to lowercase, makes & into “and”, removes the special characters and joins the words with hyphens.
  • A shorter URL is easier to read, share and remember. Avoid the year in the URL if you plan to update the page later.

Read URLs and File Names.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.