Desidero sapere se il reindirizzamento 301 conserva sempre il referrer.Il reindirizzamento 301 conserva sempre il referrer?
Faccio una pagina denominata "gotoorig_https.html" che contiene un collegamento ipertestuale a una pagina "orig_https.asp".
"orig_https.asp" reindirizzerà 301 a "dest.html" che mostra document.referrer.
In questo caso,
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
Ho anche fare una pagina chiamata "gotoorig_http.html", che contiene un collegamento ipertestuale a una pagina "orig_http.asp". "orig_http.asp" reindirizzerà 301 a "dest.html" che mostra document.referrer.
In questo caso,
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.
Perché l'ultimo caso accada?
+1 per non fare affidamento su detto comportamento. Anche i referenti possono essere falsificati! – sybreon