我试图创建微小的网址是这样的:努力创造微小的网址,让重定向循环
site.com/abc123
去:
网站.com/index.php?token = abc123
但是我不断收到重定向循环?在我试试,或者它试图重定向到的index.php令牌=的index.php ..
当前的.htaccess是:
Options +FollowSymLinks
Options -MultiViews
RewriteEngine On
RewriteRule ^([^/]*)$ /index.php?token=$1 [L]
试图'^ [A-ZA-Z0-9] $'为你的正则表达式;看看是否有帮助? – meagar 2010-04-12 03:03:19
试过但仍然给出了重定向循环。 – Gary 2010-04-12 03:07:07