Home > Article > Web Front-end > Several methods of page redirection
When I was developing a project recently, my colleagues used CMS templates to build the website, but they didn’t want users to access the template files
Regarding this problem, I have thought of several methods. I will share these methods with you below
I hope everyone will continue to work hard and contribute their part to the program
No more nonsense, let’s get straight to work
JS implements page redirection
The first type:
The second type:
The third type:
The fourth type:
The fifth type:
Just add the following sentence to the head, and it will jump to the target page after staying on the current page for 0.1 seconds