1. Meta tag implementation
Just add the following sentence to the head, and then jump to the target page after staying on the current page for 0.1 seconds.
The code copy is as follows:
<meta http-equiv="refresh" content="0.1; url=http://VeVB.COM/">
2. Javascript implementation
Method 1:
This method is more commonly used
The code copy is as follows:
window.location.href = "http://VeVB.COM/";
Method 2:
The code copy is as follows:
self.location = "http://VeVB.COM/";
Method 3:
The code copy is as follows:
top.location = "http://VeVB.COM/";
Method 4:
Only effective for IE series browsers, not very practical
The code copy is as follows:
window.navigate("http://VeVB.COM/");
3. PHP implementation
The code copy is as follows:
<?php
header("Location: http://VeVB.COM/");
?>
Ok, the above are the methods of page redirecting summarized today.