Wordpress wp-admin redirect loop, yet again

前端 未结 3 1683
日久生厌
日久生厌 2021-01-12 01:24

I realize this question has been asked many times before, but I think my problem is unique (but don\'t we all think that?... /philosophy)

My site is getting a redire

3条回答
  •  醉酒成梦
    2021-01-12 01:28

    I was able to solve this by simplifying my sites-available configurations. This is what I used:

    
        ServerName     example.org
        ServerAlias    example.com
        ServerAlias    example.net
        DocumentRoot  /var/www/example.org/site
    
        DirectoryIndex  index.php index.html
    
        
            Options Indexes FollowSymLinks ExecCGI
            AllowOverride All
            Require all granted
        
    
        ErrorLog  ${APACHE_LOG_DIR}/example_error.log
        CustomLog ${APACHE_LOG_DIR}/example_access.log combined
    
    
    

    And now there is no redirect when accessing wp-admin!

提交回复
热议问题