蝉知系统url路径优化规则

原创
2013-10-12 13:23:08
王春生
3457
摘要:蝉知企业门户系统的url优化规则终确定。

讨论了一天,终确定下来 蝉知系统url优化的规则。路局规则如下:

index: 
 
article:
  dynamic.html                                        => article-browse-cateid.html
  dynamic/pageid.html                                 => article-browse-cateid-pageid.html
  article/c+catid.html                                => article-browse-cateid.html
  article/c+cateid/pageid.html                        => article->browse-cateid-pageid.html
  dynamic/artid@alias.html                            => article-view-artid.html
  dynamic/artid.html                                  => article-view-artid.html
  article/artid@alias.html                            => article-view-artid.html
  article/artid.html                                  => article-view-artid.html
product:
  3c.html                                             => product-borwse-catid.html
  3c/p+pageid.html                                    => product-pageid.html
  product/c+catid.html                                => product-borwse-catid.html
  product/c+catid/pageid.html                         => product-brwose-cateid-pageid.html
  3c/pid@ipad.html                                    => product-view-pid.html
  3c/pid.html                                         => product-view-pid.html
  product/pid@ipad.html                               => product-view-pid.html
  product/pid.html                                    => product-view-pid.html
forum:
  forum                                              => forum
  forum/install.html                                 => forum-board-boardid.html
  forum/install/pageid.html                          => forum-board-boardid-pageid.html
  forum/boardid.html                                 => forum-board-boardid.html
  forum/boarid/pageid.html                           => forum-board-boardid-pageid.html
  thread/threadid.html                               => thread-view-threadid.html
  thread/threadid/pageid.html                        => thread-view-threadid-pageid.html
help:
  help                                              => help
  help/
                      chanzhi
.html                                 => help-book-chanzhi.html
  help/chanzhi/install.html                         => help-book-chanzhi-catid.html
  help/chanzhi/c+catid.html                         => help-book-chanzhi-catid.html
  help/chanzhi/a+artid@alias.html                   => help-view-artid.html
  help/chanzhi/a+artid.html                         => help-view-artid.html
blog:
  blog                                               => blog
  blog/0/pageid.html                                 => blog-index-0-pageid.html
  blog/team.html                                     => blog-index-catid.html
  blog/team/pageid.html                              => blog-index-catid-pageid.html
  blog/c+catid.html                                  => blog-index-catid.html
  blog/c+catid/pageid.html                           => blog-index-catid-pageid.html
  blog/artid@alias.html                              => blog-view-artid.html
  blog/artid.html                                    => blog-view-artid.html
company:
  company/                                           => company/
page:
  page/contact.html                                 => page-view-contact.html
用户可以不用关心具体的配置,系统会自动生成佳的url路径。将在1.5版本提供,敬请大家关注。

发表评论
评论通过审核后显示。