Hi Everyone,
My website is hosted on HubSpot. I have set up redirections for ‘HTTPS, www, and Trailing Slash - Redirection Best Practices in URL’ and noticed that some URLs have two 301 redirects. There should be only one version of the website, and all other versions should redirect directly to this version without any hops (consecutive redirects). How can I resolve this issue?
Hi @sonaligoyal ,
What is happening in your case is the following redirect chain:
- User tries to access regular HTTP link: http://www.gorevx.com
- User gets redirected to the secure HTTPS url: https://www.gorevx.com
- User gets redirected to the non-www secure HTTPS url: https://gorevx.com
With HubSpot’s URL mapping system, you won’t be able to completely eliminate the multiple redirects for the HTTP link (http://www.gorevx.com) because the priority is to serve the user the secure HTTPS link before any other redirects.
I would not consider this to be a big issue and it can be prevented by using the non-www url (https://gorevx.com) whenever possible.
Hope this helps!
You’re welcome, glad I could help! 