• Resolved sfocus

    (@sfocus)


    Hi Rogier, thank you for your help with this.

    We have our site setup on a subdomain site.siteurl.com, using a wildcard certificate (we also have SSL enabled on siteurl.com.) We had a heck of a time getting things sorted out on the subdomain, but once enabling your plugin, the frontend of the site is now loading securely.

    However, we are getting redirect loop when accessing the admin.

    When I enabled the plugin I got the error that there was an issue with our certificate, but then I clicked “force SSL anyways”.

    What can we do to access the admin and fix the redirect loop?

    Thanks!

    Ryan

    https://ww.wp.xz.cn/plugins/really-simple-ssl/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Hi,

    As I can’t do any tests, I’d have to guess. My first guess would be that WordPress doesn’t recognise your site as being on ssl.

    If that is the case, you could fix this by adding this to the top of your wp-config.php:
    $_SERVER[“HTTPS”] = “on”;

    This feature is included in the 2.2, which is currently in beta release.

    Let me know how that works out for you.

    Rogier

    Thread Starter sfocus

    (@sfocus)

    Rogier, tears of joy – adding:

    $_SERVER["HTTPS"] = "on";

    to wp-config has removed the redirect.

    What do you think is the issue with WordPress recognizing SSL?

    Thank you for your support!

    Ryan

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Glad to hear it helped.

    WordPress looks for that variable to check for ssl, so if that variable isn’t set, WordPress gets confused. For that reason, in the next update the plugin adds this to the wp-config when ssl is detected, but no server variable is set at all.

    Thanks for the feedback,

    Rogier

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Redirect Loop on wp-admin’ is closed to new replies.