Wordpress wp-admin redirect loop, yet again

前端 未结 3 1661
日久生厌
日久生厌 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:43

    OK lets try some stuff here:

    1. Why do you have siteurl http://example.com/site in your DB when ServerName www.example.com ? If site folder is like public it should not be accessible by URI. So your 'site URI' and 'home' should be http://example.com

    2. Are you're trying to rewrite http to https here:

      RewriteCond %{HTTP_HOST} ^example.com RewriteRule ^(.*)$ https://www.example.com%{REQUEST_URI} [R=301,L]

    Why? Could you please remove it and then check ?

    If it doesn't helps, please check apache error.log and print here the output.

    Thanks

提交回复
热议问题