Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including
Stack Overflow
, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
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
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I'm faced with a decision with creating my paths and not sure which would have the best ranking approach.
example.com/product/[slug]-[uuid]
example.com/product/[uuid]-[slug]
example.com/product/[slug]
example.com/product/[uuid]
The argument for putting the uuid first or only is it's a deterministic path and it never changes.
The argument for slug is human readable urls are supposed to rank better but our slugs might change.
Would a canonical url's approach be different?
–
–
Number 3 - just the slug will likely give you a (marginal) SEO advantage over the other options, all else being equal. To the extent that canonical implies "authorative & original address" the URaL makes little difference - but again a slug is likely easier to remember.
Id suggest the only reason to use a UUID over a slug us if you have large swaithes of content or lots of similar content.
–
–
Thanks for contributing an answer to Webmasters Stack Exchange!
-
Please be sure to
answer the question
. Provide details and share your research!
But
avoid
…
-
Asking for help, clarification, or responding to other answers.
-
Making statements based on opinion; back them up with references or personal experience.
To learn more, see our
tips on writing great answers
.