A URL (Uniform Resource Locator) is the address of a specific resource on the web, such as a page, image or file. For example: https://2marketing.com/services/seo-services/.
Parts of a URL:
- Protocol: https://, which shows a secure connection.
- [[subdomain|Subdomain]]: optional, such as www or blog.
- [[domain|Domain]]: 2marketing.com.
- Path: /services/seo-services/, the location of the page within the site.
- Query parameters: optional, after a question mark, such as ?utm_source=newsletter.
- Fragment: optional, after a hash, such as #pricing, pointing to a section of the page.
SEO-friendly URL best practice:
- Use readable words that describe the page, not ID numbers.
- Keep URLs short and focused.
- Use hyphens to separate words.
- Use lowercase letters.
- Reflect the Site Architecture where it helps, such as /services/ and /locations/.
- Avoid unnecessary parameters and session IDs.
- Do not include dates in URLs for content you plan to update.
Changing URLs on an existing site requires 301 redirects, or you risk losing rankings and backlinks. See URL Slug for the final part of the path. Our technical SEO team plans URL structures.
