想从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