Is there any way of doing a 301 redirect such that the final destination url can ascertain the original URL? E.g.
Request: www.somesite.com/Page1 -> 301 Redirect -> www.anothersite.com/SectionA/Page1
I'd like the tech at anothersite.com to be able to check the request and 'know' it was redirected here from somesite.com.
UPDATE:
e.g.
Site A => click anchor => Site B (which has moved) => 301 Redirect => Site C
I need, at Site C to know that the Request has been through the redirection process at Site B.
UPDATE 2:
I have no control over the开发者_高级运维 technology that is doing the Redirecting. Thanks for reading.
HTTP is stateless and because the specification doesn't create any specific mechanism to allow the redirectee to understand it has been redirected to you have to assume that clients will create a brand new request.
If you have no control over the redirection I feel this isn't possible.
精彩评论