我正在构建一个博客平台(RoR),并计划使用以下格式,有什么缺点吗?
# All Users:
http://www.example.com/users/
# A single user (123 is the user id, id is needed for uniqueness)
http://www.example.com/users/123/peter
# All Categories
http://www.example.com/categories/
# A single category listing (123 is the cat id, note: job is singular)
http://www.example.com/categories/123/job
# All Tags
http://www.example.com/tags/
# A single tag listing (123 is the tag id, note: car is singular)
http://www.example.com/tags/123/car
# A single post
http://www.example.com/posts/123/my-title
有什么建议或改进的地方吗?
谢谢。