# 將 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規則設置