Redirect loop on wp-admin or wp-login.php

前端 未结 16 4144
温柔的废话
温柔的废话 2021-02-09 18:30

I put together a quick WordPress site locally using MAMP, then checked it into an SVN repo. I then checked it out on to my development server.

I didn\'t change anything

16条回答
  •  遥遥无期
    2021-02-09 18:47

    In my case it was Apache's DirectoryIndex issue. The wp-admin was being accessed by wp-admin/index.php but not with wp-admin and showing ERR_TOO_MANY_REDIRECTS.

    It sounds like Apache's DirectoryIndex may be set "incorrectly". Try resetting this at the top of your .htaccess file:

    DirectoryIndex index.php
    

    See the full answer here. Can't access admin dashboard with wp-admin without /index.php after it

提交回复
热议问题