HTTP/1.1 302 Found

Discussion in 'General troubleshooting' started by Cralis, Sep 17, 2014.

  1. I have multiple sites hosted with Winhost(Well, 2).
    I used the web.config to do the redirect, but am noticing, using various online redirect checkers, that I am getting warnings about my site doing a 302 redirect (Temporary).

    I'm seeking your assistance to change this into a 301 permanent redirect.

    Right now, I get this:

    www.accufinance.com

    HTTP/1.1 302 Found
    Cache-Control: private,no-transform
    Content-Type: text/html; charset=utf-8
    Location: https://www.accufinance.com/
    Server: Microsoft-IIS/8.0
    X-AspNetMvc-Version: 5.2
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Date: Thu, 18 Sep 2014 00:20:43 GMT
    Connection: close
    Content-Length: 145

    https://www.accufinance.com/

    How SHOULD I be doing the redirect in the web.config to redirect any request from www.accufinance.com to https://www.accufinance.com/ ?
     
    Last edited by a moderator: Oct 14, 2015
  2. I'm now wondering if a 301 (Permanent) redirect is possible when using Rewrite, as opposed to Redirect. I think I need to use Redirect, in order to make it permanent. Are we able to use Redirect, instead of Rewrite?
     
  3. ComputerMan

    ComputerMan Winhost Staff

    Last edited by a moderator: Oct 14, 2015

Share This Page