WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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):

            <rule name="Site 2 Redirect" stopProcessing="true">
                <match url="^(.*)" />
                    <add input="{HTTP_HOST}" pattern="^blog\.site2\.com$" />
                <action type="Rewrite" url="/site2/" />

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

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.