我的问题是我在WordPress htaccess文件中添加RewriteRule
,以防止访问wp-admin。
我收到此错误:
www.mywebsite.in重定向了你太多次了。尝试清除你的 饼干。 ERR_TOO_MANY_REDIRECTS
请帮我找一个解决方案。
RewriteEngine on
RewriteRule ^questionlistshow-(.*).html$ ./questionlistshow.php?url=$1
# Turn Rewrite Engine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
# file path
ErrorDocument 404 http://www.mywebsite.in/404.html
# 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>
&#13;