• Hi-

    Our site has the FORCE_SSL_ADMIN setting enabled, although I think this issue would affect any site that was accessible via HTTPS, in the that the plugin locks you out when going via HTTPS.

    If you replace the line:-

    $strippedURL = str_replace('https://','',$siteurl);

    with:-

    $strippedURL = preg_replace('/https?:\/\//','',$siteurl);

    then it seems to work OK. Please can you integrate this back into the official plugin?

    https://www.ads-software.com/plugins/automatic-subdomains/

  • The topic ‘Suggested patch’ is closed to new replies.