Website development, we often need to use links to jump, after such a successful login, automatically jump to the home page and so on, terms described below PHP & JS several links to jump way
PHP
<?php header("Location: https://www.ryanzoe.top/");
JS
<script> window.location = 'https://newurl.com' </script>
If you want to jump down a different path to the same site, you can use the following way
<script> window.location.pathname = '/new' </script>