: SEO : urls : best place for the id I would like to know what's the best location for an id in a SEO optimized URL: http://www.site.com/id/slug-title http://www.site.com/slug-title-id What do
I would like to know what's the best location for an id in a SEO optimized URL:
www.site.com/id/slug-title www.site.com/slug-title-id
What do you think ?
More posts by @Heady270
2 Comments
Sorted by latest first Latest Oldest Best
Put the id near the beginning. I had some URLs with ids near the end and it caused a problem. Sometimes URLs get truncated. This is especially true when they are shown in the page and not linked.
Your website can probably figure out what to show if the link is
example.com/12345-this-is-the-whole-title-o...
but might not be able to in the case that the id is in the part that was truncated.
example.com/this-is-the-whole-title-of-the-...
Look no further then the URL of this page:
webmasters.stackexchange.com/questions/16641/seo-urls-best-place-for-the-id
It's in the www.site.com/action/id/slug-title format. But truthfully, both work well and are optimized for the search engines.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.