Reputation: 198318
My database uses uuid as primary keys, and the urls are like:
http://aaa.com/questions/a2f1c81a-b9a9-4a1d-804d-5324a8705976
Is it friendly to search engines like google? I can use autoincreased long integer as primary keys too, is it better?
The url will be:
http://aaa.com/questions/1234212
Upvotes: 3
Views: 2750
Reputation: 41417
This is impossible to answer with certainty as Google keeps it ranking algorithm secret (and updates them frequently), but I doubt it would matter either way.
However, generally speaking, if you want to improve search engine rankings, include keywords in your URLs (the way StackOverflow does). Your web application can just use your unique identifier and ignore these additional URL elements.
Upvotes: 4