ERR_TOO_MANY_REDIRECTS wordpress

时间:2016-02-18 11:52:12

标签: php wordpress .htaccess google-chrome wpml

我有一个奇怪的问题,wordpress主页仅在Google Chrome上有302错误(重定向循环),但如果我首先访问我的管理面板然后返回主页,它可以... 我安装了WPML和Yoast SEO。 安装在子文件夹中。

有人知道发生了什么事吗?

以下是链接:www.scrybs.com

提前致谢

我的htaccess如下:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteRule ^([^/]*)/auth/$ /auth/?lang=$1 [L]
RewriteRule ^([^/]*)/auth/login$ /auth/login.php?lang=$1 [L]
RewriteRule ^([^/]*)/auth/logout$ /auth/logout.php?lang=$1 [L]
RewriteRule ^([^/]*)/auth/registration$ /auth/registration_form.php?lang=$1 [L]
RewriteRule ^([^/]*)/auth/password-forgotten$ /auth/forgot_form.php?lang=$1 [L]
RewriteRule ^([^/]*)/auth/facebook$ /auth/facebook_connect.php?lang=$1 [L]
RewriteRule ^([^/]*)/auth/reset$ /auth/reset.php?lang=$1 [L]
RewriteRule ^([^/]*)/auth/activate$ /auth/activate.php?lang=$1 [L]
RewriteRule ^([^/]*)/account/$ /account/?lang=$1 [L]
RewriteRule ^([^/]*)/account/t/$ /account/t/?lang=$1 [L]
RewriteRule ^([^/]*)/account/t/jobs/$ /account/t/jobs.php?lang=$1 [L]
RewriteRule ^([^/]*)/account/t/myjobs/$ /account/t/myjobs.php?lang=$1 [L]
RewriteRule ^([^/]*)/account/t/myaccount/$ /account/t/myaccount.php?lang=$1 [L]
RewriteRule ^([^/]*)/account/t/([^/]*)$ /account/t/?lang=$1&step=$2 [L]
RewriteRule ^([^/]*)/account/t/tests/$ /account/t/testspage.php?lang=$1 [L]
RewriteRule ^([^/]*)/account/t/jobs/([^/]*)/$ /account/t/orderpage.php?lang=$1&ref=$2 [L]
RewriteRule ^([^/]*)/account/t/transactions/$ /account/t/transactions.php?lang=$1 [L]
RewriteRule ^([^/]*)/account/c/$ /account/c/?lang=$1 [L]
RewriteRule ^([^/]*)/account/c/([^/]*)$ /account/c/?lang=$1&step=$2 [L]
RewriteRule ^([^/]*)/account/c/myorders/$ /account/c/myorders.php?lang=$1 [L]
RewriteRule ^([^/]*)/account/c/myaccount/$ /account/c/myaccount.php?lang=$1 [L]
RewriteRule ^([^/]*)/account/c/myorders/([^/]*)/$ /account/c/orderpage.php?lang=$1&ref=$2 [L]
RewriteRule ^([^/]*)/account/c/transactions/$ /account/c/transactions.php?lang=$1 [L]
RewriteRule ^([^/]*)/order/$ /order/?lang=$1 [L]
RewriteRule ^([^/]*)/order/reference/([^/]*)/$ /order/reference.php?lang=$1&ref=$2 [L]
RewriteRule ^([^/]*)/support/$ /support/?lang=$1 [L]
RewriteRule ^([^/]*)/support/requests/new/$ /support/requests/newrequest.php?lang=$1 [L]
RewriteRule ^([^/]*)/support/translators/$ /support/translators.php?lang=$1 [L]
RewriteRule ^([^/]*)/support/topics/([^-]+)-([^/]+)$ /support/topic.php?lang=$1&id=$2&url=$3 [NC,L]
RewriteRule ^([^/]*)/guest-tracking/$ /guest-tracking/?lang=$1 [L]

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ##

1 个答案:

答案 0 :(得分:1)

服务器配置与WP域配置存在问题,这会产生无限循环。检查两个地方的域名是否相同