Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/248.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 错误太多重定向wordpress_Php_Wordpress_.htaccess_Google Chrome_Wpml - Fatal编程技术网

Php 错误太多重定向wordpress

Php 错误太多重定向wordpress,php,wordpress,.htaccess,google-chrome,wpml,Php,Wordpress,.htaccess,Google Chrome,Wpml,我有一个奇怪的问题,wordpress主页只有在Google Chrome上有一个302错误(重定向循环),但是如果我先访问我的管理面板,然后返回主页,它会工作。。。 我已经安装了WPML,并进行了搜索引擎优化。 安装在子文件夹中 有人知道发生了什么事吗 以下是链接: 提前谢谢 我的访问权限如下: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^([^/]*)/auth/$ /auth/?la

我有一个奇怪的问题,wordpress主页只有在Google Chrome上有一个302错误(重定向循环),但是如果我先访问我的管理面板,然后返回主页,它会工作。。。 我已经安装了WPML,并进行了搜索引擎优化。 安装在子文件夹中

有人知道发生了什么事吗

以下是链接:

提前谢谢

我的访问权限如下:

<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 ##

重新启动发动机
重写基/
重写规则^([^/]*)/auth/$/auth/?lang=$1[L]
重写规则^([^/]*)/auth/login$/auth/login.php?lang=$1[L]
重写规则^([^/]*)/auth/logout$/auth/logout.php?lang=$1[L]
重写规则^([^/]*)/auth/registration$/auth/registration_form.php?lang=$1[L]
重写规则^([^/]*)/auth/password-遗忘$/auth/forget_-form.php?lang=$1[L]
重写规则^([^/]*)/auth/facebook$/auth/facebook_connect.php?lang=$1[L]
重写规则^([^/]*)/auth/reset$/auth/reset.php?lang=$1[L]
重写规则^([^/]*)/auth/activate$/auth/activate.php?lang=$1[L]
重写规则^([^/]*)/account/$/account/?lang=$1[L]
重写规则^([^/]*)/account/t/$/account/t/?lang=$1[L]
重写规则^([^/]*)/account/t/jobs/$/account/t/jobs.php?lang=$1[L]
重写规则^([^/]*)/account/t/myjobs/$/account/t/myjobs.php?lang=$1[L]
重写规则^([^/]*)/account/t/myaccount/$/account/t/myaccount.php?lang=$1[L]
重写规则^([^/]*)/account/t/([^/]*)$/account/t/?lang=$1和step=$2[L]
重写规则^([^/]*)/account/t/tests/$/account/t/testspage.php?lang=$1[L]
重写规则^([^/]*)/account/t/jobs/([^/]*)/$/account/t/orderpage.php?lang=$1&ref=$2[L]
重写规则^([^/]*)/account/t/transactions/$/account/t/transactions.php?lang=$1[L]
重写规则^([^/]*)/account/c/$/account/c/?lang=$1[L]
重写规则^([^/]*)/account/c/([^/]*)$/account/c/?lang=$1和step=$2[L]
重写规则^([^/]*)/account/c/myorders/$/account/c/myorders.php?lang=$1[L]
重写规则^([^/]*)/account/c/myaccount/$/account/c/myaccount.php?lang=$1[L]
重写规则^([^/]*)/account/c/myorders/([^/]*)/$/account/c/orderpage.php?lang=$1&ref=$2[L]
重写规则^([^/]*)/account/c/transactions/$/account/c/transactions.php?lang=$1[L]
重写规则^([^/]*)/order/$/order/?lang=$1[L]
重写规则^([^/]*)/order/reference/([^/]*)/$/order/reference.php?lang=$1&ref=$2[L]
重写规则^([^/]*)/support/$/support/?lang=$1[L]
重写规则^([^/]*)/support/requests/new/$/support/requests/newrequest.php?lang=$1[L]
重写规则^([^/]*)/support/translators/$/support/translators.php?lang=$1[L]
重写规则^([^/]*)/support/topics/([^-]+)-([^/]+)$/support/topic.php?lang=$1&id=$2&url=$3[NC,L]
重写规则^([^/]*)/guest tracking/$/guest tracking/?lang=$1[L]
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/index.php[L]
#结束WordPress
##过期缓存##
过期于
过期按类型映像/jpg“访问1年”
过期按类型图像/jpeg“访问1年”
ExpiresByType image/gif“访问1年”
过期按类型图像/png“访问1年”
ExpiresByType文本/css“访问1个月”
过期按类型应用程序/pdf“访问1个月”
ExpiresByType文本/x-javascript“访问1个月”
过期按类型应用程序/x-shockwave-flash“访问1个月”
过期按类型图像/x图标“访问1年”
ExpiresDefault“访问2天”
##过期缓存##

与WP域配置相比,您的服务器配置存在一个问题,导致无限循环。检查两个地方的域名是否相同

谢谢您的评论。我添加了我的htaccess内容,但若它是htaccess,我在进入管理面板后将无法访问主页。我愿意付钱解决这个问题!!!@JordanBelfort17.你能告诉我有什么问题吗?@VasimVanzara我无缘无故被否决了。基本上,问题是我们无法访问主页。如果我们转到另一个页面,然后回到主页,它就工作了……如果我们转到另一个页面,清除缓存和cookies,我们就无法访问主页。