Redirect 修改后重定向301不工作

Redirect 修改后重定向301不工作,redirect,Redirect,我想添加重定向: http://www.example.com/hebradio/index.php?radio=11 ---> http://example.com/radio/reshet-gimel 到我的wordpress站点,到当前的htaccess: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] Rew

我想添加重定向:

http://www.example.com/hebradio/index.php?radio=11 ---> http://example.com/radio/reshet-gimel
到我的wordpress站点,到当前的htaccess:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

RewriteCond %{REQUEST_URI} /index.php$
RewriteCond %{QUERY_STRING} ^radio=11$
RewriteRule ^.*$ http://example.com/radio/reshet-gimel [L,R=301]
正如您所看到的,我将其添加到文件的末尾。。。但是,它不起作用:
我能做些什么?谢谢

你需要逃跑。正则表达式中的字符。因此,/index.php$应该是/index\。phpMy rewrites在大约第一次重写时也有RewriteEngine。