您好,欢迎访问一九零五行业门户网

htaccess 伪静态跳转有关问题

htaccess 伪静态跳转问题
想从tag/abc 跳到 tag/index.php?t=abc
rewriterule ^tag/(.*)$ tag/index.php?t=$1
index.php
print_r($_get['t']);//显示的是index.php 而不是 abc 怎么办
php? 分享到:
------解决方案--------------------
rewriterule ^tag/(?!index\.php)(.*)$ tag/index.php?t=$1

其它类似信息

推荐信息