What is a redirect?
- A url redirect is a process that navigates a user from one url to another
- Sometimes we need to redirect a user to a different page in our website without them clicking on a link
Types of redirecting :
Redirecting through history api (Client-side redirect)