How do you handle redirects?

When you have to use them, make sure to follow these best practices:

  1. Avoid chained redirects: one redirect should not forward to another redirect.
  2. Redirect to the preferred version of your website, using the right protocol (http or https), domain name (www or non-www) and path notation (with or without trailing slash).

For More Information Please Refer: