我正在制作一个包含多个目录的网站,这些目录将具有大量内容。
现在,我将URL分为几类,以便它们像这样:
www.example.com/student/
www.example.com/student/student-name/
www.example.com/student/student-name/biography
www.example.com/student/student-name/image-gallery/
www .example.com / student / student-name / image-gallery / gallery-name-1
www.example.com/student/student-name/image-gallery/gallery-name-2
www.example.com/student/student -名称/联系方式
www.example.com/teacher/
www.example.com/teacher/teacher-name
www.example.com/teacher/teacher-name/biography
www.example.com/teacher/teacher-name/image- gallery /
www.example.com/teacher/teacher-name/image-gallery/gallery-name-1
www.example.com/teacher/teacher-name/image-gallery/gallery-name-2
有很多老师,学生,画廊,视频等。
还有几种以相同的方式进行分类的方法,但是在上网之前,我想检查一下这是否是最佳方法。
/teacher/teacher-name/biography
还是老师的名字会解析为实际的名字,例如/teacher/JCL1178/biography