php 伪静态规则,很简单,来一个
程序员文章站
2022-04-30 22:07:13
...
本帖最后由 XiAnTianYiChuanMei 于 2013-11-09 18:22:50 编辑 www.xx.com/index.php
http://www.xx.com/index.php?&page=2
重写后
www.xx.com/index.html
www.xx.com/2.html
Apache规则
http://www.xx.com/index.php?&page=2
重写后
www.xx.com/index.html
www.xx.com/2.html
Apache规则
回复讨论(解决方案)
RewriteRule ^index.html$ index.php
RewriteRule ^(\d+).html$ index.php?page=$1