<?xml version="1.0" encoding="utf-8"?>

Write clear, contextual URL addresses

Write clear, contextual URL addresses Bad Practice
Write clear, contextual URL addresses Best Practice

Since the URL appears in the address bar, having a clear and descriptive URL helps users know exactly where they are on your site and what to expect from the page. It also helps search engines understand what the page is about.

Here are some best practices to write URL addresses:

  • Be clear and contextual: Use simple, understandable words that describe the page content. For example, use "www.eazybaking.com/blog/how-to-bake-cookies" instead of "www.eazybaking.com/page1."
  • Use keywords: Include relevant keywords in the URL to improve SEO and provide more context to users.
  • Avoid special characters: Stick to letters, numbers, and hyphens. Avoid using spaces, underscores, or special characters.
  • Keep it short: Shorter URLs are easier to read and remember. Aim for no more than 2-5 words.
  • Use lowercase letters: This avoids confusion and ensures consistency.
Improve your UX & Product skills with interactive courses that actually work