Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 549 Bytes

02-SEO-FRIENDLY-URLS.md

File metadata and controls

21 lines (11 loc) · 549 Bytes

SEO friendly URLs

The restaurant details page URLs should not contain integer identifiers but SEO friendly names.

Tasks

  • given /restaurant/:id, when id is an integer then a redirect to a SEO friendly URL should happen (e.g.: http://localhost:3000/restaurant/1906 --> http://localhost:3000/restaurant/foreign-cinema)

Examples

  1. http://localhost:3000/restaurant/foreign-cinema

  2. http://localhost:3000/restaurant/players-sports-grill-&-arcade

  3. http://localhost:3000/restaurant/boulevard

How to fix?

  • 112807

  • 22792