4 ms·
- Short over long. Consider removing useless words from the url like http://www.example.com/tips-for-designing-good-urls http://www.example.com/tips-for-designi
by blauwbilgorgel 16y ago
- Short over long. Consider removing useless words from the url like http://www.example.com/tips-for-designing-good-urls http://www.example.com/tips-for-designing-good-urls
- Concise To the point, describe the page content from the url
- Use lowercase. Generally the best idea, for sharing links and technical issues (Apache is case-sensitive sometimes)
- Consistenty. Stay consistent, make a style guide for URL's if necessary
- Trailing slashes. Stick with trailing slashes or no trailing slashes
- Be logical. Follow a logical structure, that follows the structure of the site. A good URL might read like a breadcrumb: site.com/category/product-name, this works for silo'ing your content. Other sites (such as news sites or without a category) might benefit more from the shortest url possible.
- Dashes for spaces. No underscores or %20 spaces.
- No special chars. Consider replacing é with e and removing any non-alphabet non-number character like: ' " (
- Canonical. There should be only 1 URL in Google's index with a page content. Use canonical or 301's or smart use of URL's to make sure this is the case.
- Degradable. What happens if a user visits site.com/category/product-name/ and then removes the /product-name/ part? The URL-structure should allow for this and site.com/category/ should return content (preferably the category description)
- Timeless. If you have an event and you set the date inside the URL, then after this date has passed, this URL gets less valuable. Either 301 these aged URL's to the current event URL, or make it so your URL's can be "re-used" for future events.
- Optimized. for search Use a keyword tool, to find out what users might be searching for and use the relevant keywords inside your URL. Keyword in URL is a ranking factor.
- No excessive use of dynamic variables. These will confuse your users and search engines.