302 jump, 302 jump code
Jump code:
Header ("HTTP/1.1 302 Found"); // This sentence can be omitted
Dheader ("Location: http://www.baidu.com ");
What is 302 redirection? What is the significance?
Hello, I am a professional Q & A of Dezhou Information Network (www.0534x.cn). 302 redirection is a type of website redirection, which is different from 301 redirection. 301 is a permanent URL redirection, 302 is the temporary targeting of the website. 302 redirection or 302 redirection (302 redirect) refers to the status code returned by the host when the browser requests a webpage. The status code 302 indicates that you are temporarily redirected to another website.
What is the difference between 301 and 302 jumps in writing?
301,302 the difference is that: 301 redirect: 301 represents a permanent transfer (Permanently Moved), 302 redirect: 302 represents a temporary transfer (Temporarily Moved), there is no difference in writing, all in the configuration file, set the jump statement to 301 or 302.