帝国wap模板绑定了二级域名之后,怎么设置伪静态规则呢?
实现伪静态规则的方法如下:
- Options +FollowSymLinks
- RewriteEngine on
- RewriteRule ^(.*)index.html$ $1index.php
- RewriteRule ^(.*)list-([0-9]+)-([0-9]+).html$ $1list.php?classid=$2&page=$3
- RewriteRule ^(.*)show-([0-9]+)-([0-9]+).html$ $1show.php?classid=$2&id=$3