• Resolved jwebadgility

    (@jwebadgility)


    I’m running the really simple ssl plugin on a number of sites on my windows IIS server (8.5). After this recent plugin update, I’m getting a message – “Your .htaccess does not contain the Really Simple SSL redirect to https, and could not be written, so a javascript redirect is currently added.”

    Since I’m not running apache – do I need to edit my web.config file for this error? Not sure what I should do regarding it.

    Thanks,
    Jay

    https://www.ads-software.com/plugins/really-simple-ssl/

Viewing 1 replies (of 1 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    You can dismiss this error, as it is specifically for apache users. In future updates support for redirects in other servers will be added.

    It is advisable to add a 301 redirect in your web.config. An example to do this I found here:
    https://stackoverflow.com/questions/9823010/how-to-force-https-using-a-web-config-file

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <clear />
                    <rule name="Redirect to https" stopProcessing="true">
                        <match url="(.*)" />
                        <conditions>
                            <add input="{HTTPS}" pattern="off" ignoreCase="true" />
                        </conditions>
                        <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>
Viewing 1 replies (of 1 total)
  • The topic ‘htaccess message on IIS server’ is closed to new replies.