用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1497|回复: 1
收起左侧

[HELP] CI伪静态怎么匹配?

[复制链接]
发表于 2013-7-27 09:44:38 | 显示全部楼层 |阅读模式
我想将http://shop.baobei.cn/product/tlist-sid1-tid3.html   
在.htaccess
匹配<IfModule rewrite_module>
RewriteEngine On
RewriteRule  tlist-sid(\d+)-tid(\d+)\.html$  product/tlist?sid=$1&&tid=$2  
</IfModule>
怎么这个伪静态找不到页面,如果是普通的php就可以

发表于 2013-8-1 08:43:01 | 显示全部楼层
直接将所有请求转向index.php即可。

本版积分规则