What is an URL structure?
There are several ways you can choose to structure URLs on your website, and this method is called your URL structure.
Importance of URL structure for SEO
Understanding URL Structure & Its best practices for SEO
- Protocol: https://
- Subdomain: www.
- TLD: example.com
- Path: /about-us
- Slug: /team
- Parameters: ?admin=rakib
- Fragment: #services
1. Protocol (https://)
Example of a Not Secure website (http://)
2. Subdomain. (www.)
3. Main Domain (example.com)
4. Path/Directories (/about-us)
This is an example of a bad URL after using the path or directory:
5. Slugs/Pages. (/team)
6. Parameters (?admin=rakib)
7. Fragment. (#services)
URL Structure Best Practices
- Add keywords to the URL: Add a keyword or two to your URL. For long tail keywords, avoid using multiple keywords. This will help both search engines and visitors to understand the content of the URL.
- Don’t stuff URLs with whole keywords: Keyword stuffing means over-optimization. Never append the entire keyword to the URL. This is considered by Google as keyword stuffing and not ranked.
- Don’t use stop words: it reduces the readability of your URL. If your URL contains grammar mistakes, there is no need to fix them.
This is an example of a bad URL:
- Use hyphens instead of underscores: Use hyphens to separate words in your URLs. Avoid using underscores.
- Do not use dates in URLs: A URL is usually used for years. If you use a date in your URL, if the URL is a bit older, its value decreases. Visitors are always looking for something new.
- Keep URLs as short as possible: Both visitors and search engines prefer short URLs. So, keep URLs short. Use as few paths or directories as possible. Again, do not make the URL meaningless by shortening it.