帝国cms7.5 伪静态规则发布 ( Apache)

发布时间:2018-03-02 18:28:06 来源:

 RewriteEngine On

Rewritebase /

#信息内容页

RewriteCond %{QUERY_STRING} ^(.*)$

RewriteRule ^showinfo-([0-9]+)-([0-9]+)-([0-9]+).html$ /e/action/ShowInfo.php?classid=$1&id=$2&page=$3 [NC,L]

#信息列表

RewriteCond %{QUERY_STRING} ^(.*)$

RewriteRule ^listinfo-([0-9]+)-([0-9]+).html$ /e/action/ListInfo/index.php?classid=$1&page=$2 [NC,L]

#标题分类列表页

RewriteCond %{QUERY_STRING} ^(.*)$

RewriteRule ^infotype-([0-9]+)-([0-9]+).html$ /e/action/InfoType/index.php?ttid=$1&page=$2 [NC,L]

#TAGS信息列表页

RewriteCond %{QUERY_STRING} ^(.*)$

RewriteRule ^tags-(.+?)-([0-9]+).html$ /e/tags/index.php?tagname=$1&page=$2 [NC,L]

#评论列表页

RewriteCond %{QUERY_STRING} ^(.*)$

RewriteRule ^comment-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ /e/pl/index.php?doaction=$1&classid=$2&id=$3&page=$4&myorder=$5&tempid=$6 [NC,L]

帝国cms7.5 伪静态规则发布 ( Apache)

扫一扫手机访问

发表评论