Method 1: header() function in PHP
header("Location:http://www.downcc.com");
?>
Note:
1. There cannot be a space between location and :, otherwise it will not jump.
2. There cannot be any output before header().
3. The PHP code after header() will also be executed.
Method 2: Meta tag
TheMeta tag is a tag in HTML that is responsible for providing document meta-information. Using this tag in a PHP program can also achieve page jumps. If http-equiv is defined as refresh, when the page is opened, it will jump to the corresponding page within a certain period of time based on the value specified by content. If content="seconds;url=website" is set, it defines how long it will take for the page to jump to the specified URL.
Method 3: javascript implementation