What exactly is web redirection?
Web redirection involves sending a user accessing the source URL automatically to the redirection URL.
Creating redirections can be a good idea on several occasions, for example;
- Point domain variants (different TLDs) to the domain that has the website.
- Redirect the user to updated content
- Consolidate links into one
There are several types of redirection available:
- HTTP (301) Permanent: The client will be redirected from the source URL to the redirection URL permanently. This type of redirection is stored in the browser's temporary memory (cache).
- HTTP (302) Temporary: The client will be redirected from the source URL to the redirection URL temporarily, expecting the source URL to become available again at some point. This type of redirection is not stored in the browser's temporary memory (cache).
- FRAME: The content viewed on the source URL will be that of the redirection URL, but the browser's link will continue to display the source URL.