HTTPS Issue with redirecting
<p>So I inserted a SLL Certificate and now in the code for the web.config file I have</p>

<p>Code:</p>

<pre><code>&lt;system.webServer&gt;
        &lt;rewrite&gt;
            &lt;rules&gt;
                &lt;rule name="removed by me" stopProcessing="true"&gt;
                    &lt;match url="(.*)" /&gt;
                    &lt;conditions&gt;
                        &lt;add input="{HTTPS}" pattern="(^OFF$)" /&gt;
                    &lt;/conditions&gt;
                    &lt;action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther" /&gt;
                &lt;/rule&gt;
            &lt;/rules&gt;
        &lt;/rewrite&gt;
    &lt;/system.webServer&gt;
</code></pre>

<p>Now this works great and all but the directory that is what i use is site/folder/root(where all my files i need accessed are set to)  Now with the code I used when I go to lets say login and I am at site/folder/loginfile and I login, it takes me to site/loginsuccess file when it should be site/folder/root.</p>

<p>Please let me know if you need anything else!  </p>

<p>Thank you!</p>

<p>EDITED-----------</p>

<p>My redirect once you successfully login is:</p>

<pre><code>header("location:http://Site/folder/memberinterface.php");
</code></pre>
