# 将 rewriteengine 模式打开
rewriteengine on
#信息内容页:showinfo-[!--classid--]-[!--id--]-[!--page--].html
rewritecond %{query_string} ^(.*)$
rewriterule ^showinfo-(.+?)-(.+?)-(.+?).html$ /e/action/showinfo.php?classid=$1&id=$2&page=$3
#信息列表:listinfo-[!--classid--]-[!--page--].html
rewritecond %{query_string} ^(.*)$
rewriterule ^listinfo-(.+?)-(.+?).html$ /e/action/listinfo/index.php?classid=$1&page=$2
#标题分类列表页:infotype-[!--ttid--]-[!--page--].html
rewritecond %{query_string} ^(.*)$
rewriterule ^infotype-(.+?)-(.+?).html$ /e/action/infotype/index.php?ttid=$1&page=$2
#tags信息列表页:tags-[!--tagname--]-[!--page--].html
rewritecond %{query_string} ^(.*)$
rewriterule ^tags-(.+?)-(.+?).html$ /e/tags/index.php?tagname=$1&page=$2
以上都是默认的rewrite规则设置
更多信息请查看IT技术专栏