CMS Development

sonaligoyal
Member

Redirection

SOLVE

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?

Redirection.png

0 Upvotes
1 Accepted solution
evaldas
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Redirection

SOLVE

Hi @sonaligoyal ,

 

What is happening in your case is the following redirect chain:

  1. User tries to access regular HTTP link: http://www.gorevx.com
  2. User gets redirected to the secure HTTPS url: https://www.gorevx.com
  3. 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!

 


✔️ Did this post help answer your query? Help the community by marking it as a solution.

View solution in original post

3 Replies 3
evaldas
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Redirection

SOLVE

Hi @sonaligoyal ,

 

What is happening in your case is the following redirect chain:

  1. User tries to access regular HTTP link: http://www.gorevx.com
  2. User gets redirected to the secure HTTPS url: https://www.gorevx.com
  3. 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!

 


✔️ Did this post help answer your query? Help the community by marking it as a solution.

sonaligoyal
Member

Redirection

SOLVE

Thank you evaldas 🙂

evaldas
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Redirection

SOLVE

You're welcome, glad I could help! 🙂


✔️ Did this post help answer your query? Help the community by marking it as a solution.

0 Upvotes