<p class="sougouContent"> </p> <p class="tag"> php </p> 想从tag/abc 跳到 tag/index.php?t=abc <br> <br> <br> <br> RewriteRule ^tag/(.*)$ tag/index.php?t=$1 <br> <br> index.php <br> print_r($_GET['t']);//显示的是index.php 而不是 abc 怎么办?? <br> <br> <br> <br> <h2>回复讨论(解决方案)</h2> <p class="sougouAnswer"> <pre class="sycode" name="code">RewriteRule ^tag/(?!index\.php)(.*)$ tag/index.php?t=$1</pre> </p> <p class="sougouAnswer"> <pre class="sycode" name="code">RewriteRule ^tag/(?!index\.php)(.*)$ tag/index.php?t=$1</pre> <br> 给力啊,解决了~ <br> 伪静态里重复(循环)跳转是个隐晦误点 </p>