I would like to know what's the best location for an ID in a SEO optimized URL:
Webmasters Stack Exchange is a question and answer site for webmasters. It only takes a minute to sign up.Sign up to join this community
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
but might not be able to in the case that the id is in the part that was truncated.