Czy przekierowanie 301 zawsze zachowuje odsyłacz?
Chcę wiedzieć, czy przekierowanie 301 zawsze zachowuje polecającego.
Tworzę stronę o nazwie „gotoorig_https.html”, która zawiera hiperłącze do strony „orig_https.asp”.
„orig_https.asp” 301 przekieruje do „dest.html”, który pokazuje document.referrer.
W tym przypadku,
http page(gotoorig_https.html) -> orig_https.asp(301 redirect)-> https page (dest.html) <--the referrer preserves
https page(gotoorig_https.html) -> orig_https.asp(301 redirect)-> https page (dest.html) <--the referrer preserves
Tworzę także stronę o nazwie „gotoorig_http.html”, która zawiera hiperłącze do strony „orig_http.asp”. „orig_http.asp” 301 przekieruje do „dest.html”, który pokazuje document.referrer.
W tym przypadku,
http page(gotoorig_http.html) -> orig_http.asp(301 redirect)-> http page (dest.html) <--the referrer preserves
https page(gotoorig_http.html) -> orig_http.asp(301 redirect)-> http page (dest.html) <--the referrer DOES NOT preserve.
Dlaczego ma miejsce ostatni przypadek?