How does redirect work?

Redirects occur when the redirect is encoded into a page rather then set on a server level. The request for the site is sent, the resource begins to load, and then there are directions during loading that reroute them.

For More Information Please Refer: https://www.digitalthirdcoast.com/blog/301-101-redirects-work