帝国CMS教程:伪静态Apache的Rewrite规则设置

# 将 RewriteEngine 模式打开RewriteEngine On#信息内容页:showinfo-[!–classid–]-[!–id–]-[!–page–].htmlRewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^showinfo-(.+?)-(.+?)-(.+?)\.html$ /e/action/ShowInfo\.php\?classid=$1&id=$2&page=$3#信息列表:listinfo-[!–classid–]-[!–page–].htmlRewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^listinfo-(.+?)-(.+?)\.html$ /e/action/ListInfo/index.php?classid=$1&page=$2#标题分类列表页:infotype-[!–ttid–]-[!–page–].htmlRewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^infotype-(.+?)-(.+?)\.html$ /e/action/InfoType/index.php?ttid=$1&page=$2#TAGS信息列表页:tags-[!–tagname–]-[!–page–].htmlRewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^tags-(.+?)-(.+?)\.html$ /e/tags/index.php?tagname=$1&page=$2以上都是默认的Rewrite规则设置 哪怕前方的路会充满坎坷,但为梦想而拼搏的人会永不言败

帝国CMS教程:伪静态Apache的Rewrite规则设置

相关文章:

你感兴趣的文章:

标签云: