admin管理员组文章数量:1130349
I have a couple of sites on a shared hosting server.
The sites load just fine, and everything appears to work, including local links. The only thing that isn't working is that the entire wp-admin directory is throwing a "too many redirects" error message.
Here is what my redirects look like to handle the domain (this is the only non-standard part of this install):
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Site 2 Redirect" stopProcessing="true">
<match url="^(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^blog\.site2\$" />
</conditions>
<action type="Rewrite" url="/site2/" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
I did see other posts claiming that the admin folder required 705 permissions, which I have set to no avail.
Any help would be greatly appreciated.
I have a couple of sites on a shared hosting server.
The sites load just fine, and everything appears to work, including local links. The only thing that isn't working is that the entire wp-admin directory is throwing a "too many redirects" error message.
Here is what my redirects look like to handle the domain (this is the only non-standard part of this install):
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Site 2 Redirect" stopProcessing="true">
<match url="^(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^blog\.site2\$" />
</conditions>
<action type="Rewrite" url="/site2/" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
I did see other posts claiming that the admin folder required 705 permissions, which I have set to no avail.
Any help would be greatly appreciated.
Share Improve this question edited May 21, 2013 at 16:53 s_ha_dum 65.6k13 gold badges84 silver badges174 bronze badges asked May 21, 2013 at 16:44 Cory DeeCory Dee 1051 silver badge7 bronze badges2 Answers
Reset to default 1I suggest you to enable WP_DEBUG 'ON' to find out the error. You can enable WordPress debug editing wp-config.php file by adding define( 'WP_DEBUG', true );
Check the following document for better understanding https://codex.wordpress/Debugging_in_WordPress
I do not really know where your problem comes from but I know a trick to fix this issue in some case :
ErrorDocument 401 default
This code goes in main .htaccess at the very beginning.
Hope this will do the job.
I have a couple of sites on a shared hosting server.
The sites load just fine, and everything appears to work, including local links. The only thing that isn't working is that the entire wp-admin directory is throwing a "too many redirects" error message.
Here is what my redirects look like to handle the domain (this is the only non-standard part of this install):
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Site 2 Redirect" stopProcessing="true">
<match url="^(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^blog\.site2\$" />
</conditions>
<action type="Rewrite" url="/site2/" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
I did see other posts claiming that the admin folder required 705 permissions, which I have set to no avail.
Any help would be greatly appreciated.
I have a couple of sites on a shared hosting server.
The sites load just fine, and everything appears to work, including local links. The only thing that isn't working is that the entire wp-admin directory is throwing a "too many redirects" error message.
Here is what my redirects look like to handle the domain (this is the only non-standard part of this install):
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Site 2 Redirect" stopProcessing="true">
<match url="^(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^blog\.site2\$" />
</conditions>
<action type="Rewrite" url="/site2/" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
I did see other posts claiming that the admin folder required 705 permissions, which I have set to no avail.
Any help would be greatly appreciated.
Share Improve this question edited May 21, 2013 at 16:53 s_ha_dum 65.6k13 gold badges84 silver badges174 bronze badges asked May 21, 2013 at 16:44 Cory DeeCory Dee 1051 silver badge7 bronze badges2 Answers
Reset to default 1I suggest you to enable WP_DEBUG 'ON' to find out the error. You can enable WordPress debug editing wp-config.php file by adding define( 'WP_DEBUG', true );
Check the following document for better understanding https://codex.wordpress/Debugging_in_WordPress
I do not really know where your problem comes from but I know a trick to fix this issue in some case :
ErrorDocument 401 default
This code goes in main .htaccess at the very beginning.
Hope this will do the job.
本文标签: Too Many RedirectsWPAdmin Only
版权声明:本文标题:Too Many Redirects - WP-Admin Only 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749086388a2313840.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论