Https redirect loop on mutlisite (6 posts)

  1. thels
    Posted 2 years ago #


    I purchased a wildcard SSL cert and had it installed.
    every time I force the HTTPS on admin and login I get a redirect loop
    whether I add to wp-config or add to htaccess or use WordPress Https plugin i still get redirect loop.
    the only time it works if use Force SSL Exclusively on each page but this does not work on login and admin.

    please can you help

  2. How did you force https on admin?

  3. thels
    Posted 2 years ago #


    I add this
    define('FORCE_SSL_ADMIN', true);
    if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
    to wp config
    I have also tried wordpress Https plugin the only way that works if I use the the force page. but if enable admin on this plugin it goes into a loop.


  4. I would actually edit the site in the DB and change http to http for that domain.

  5. HuddersfieldH
    Posted 2 years ago #

    You only need the first line to make the admin SSL
    define('FORCE_SSL_ADMIN', true);
    Are you using a domain mapping plugin? If so remove the remote login checkbox. (Has solved problem for me in the past)

  6. That does it for ALL domains though, HuddersfieldH

    I did it on my store - http://halfelf.org/2014/ssl-for-one-domain-on-multisite/ - but it's not as obvious as all that.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.