How To Avoid Redirect Chains When Switching From http to https
-
I have been working on on-page SEO which has involved switching from http to https, and renaming URLs. I am running in to issues with redirect chains. Here is a scenario:
Old URL: http://bwisecontractors.ca/products/decks-and-deck-covers/
New URL: https://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/
Since I already created the redirect addressing the redirecting from http to https for the root domain: (http://bwisecontractors.ca to https://bwisecontractors.ca), should the redirect for the above be
http://bwisecontractors.ca/products/decks-and-deck-covers/ to https://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ ,
or should it be
http://bwisecontractors.ca/products/decks-and-deck-covers/ to http://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ (and the root domain redirect will take care of going from http to https)
-
Thanks for the info! One of the issues I have been dealing with is speed. Good to know addressing the redirects chain will help with this as well.
-
Thanks for the feedback! Now that I know the proper way to redirect, I can determine the cause of the redirect chains.
-
As per Yoseprgr the first option. Re-direct chains negatively impact on page speed and crawlability. Hence the one chain re-direct is optimum. Google published a video - think Matt Cutts stating - they do not crawl after 4-5 redirects. SO taking into account loss of link equity, google recommendations and speed impact - the direct link is optimum.
Hope that helps.
-
You should redirect it as in your first example. A click on any url should reach its destination URL within a single redirect. A chain of redirects is creating problems with speed and crawl efficiency.
Every page should be redirected to it's corresponding https page directly.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
No index for http version of website
Hi, I've had a message from Google search console to say the sitemap for the http version of my site is tagged as no index. As the https version is indexed, do I need to change the http version to be indexed as well? Do I need to keep the http version of the site in search console alongside the https version, or should I remove it? Advice appreciated!
On-Page Optimization | | Robingoodlad0 -
How long keep 301 redirects?
Our site has been updated twice in the past 6 years with new, better urls. Initially we did 301 redirects 3 years ago for the url redirects. Recently some of those redirected pages have been redirected again. Question: How long before it's time to have the old, original urls removed through Google? And, once that is done, how long to wait before removing the older redirects from the htaccess file? Appreciate any feedback/insights on this matter.
On-Page Optimization | | Manifestation0 -
Help with Temporary Redirects on Pages
Hi Guys, My latest crawl shows this: "44% of site pages served 302 redirects during the last crawl" When I click this to investigate the issue I see: URL:
On-Page Optimization | | jeeyer
https://www.....
https://www.....
https://www.....
https://www.....
https://www..... And under Redirect URL:
http://www....
http://www....
http://www.... I've recently read an article from Yoast that this is a https:// to http:// redirect (ofcourse 😉 ).
but why is this an issue that needs to be solved and how do I solved it? Thanks again for your help and thoughts. Joost0 -
Www to non www redirect
HI there, I was worried that my folder was not being crawled as when I searched for site:www.thekeepsakeco.co.uk/marketplace nothing came up but today I tried site:thekeepsakeco.co.uk/marketplace it does. So it is forwarding the www to the non www. When I do a search on links or analyse the domain it says there is a forwarder in place. My site used to dominate in my niche and now is not doing very well since I moved to the new site. I know I did not handle the move well but wonder what I can do about it and wonder if this redirect is causing issues. So any link building it probably going to www. rather than non www so does that mean they are not counting. What would you do? move everything back to www and could I do a 301 redirect for the whole folder? Any help greatly received! Kindest regards Victoria Thanks Victoria
On-Page Optimization | | vcasebourne0 -
Duplicate content http:// something .com and http:// something .com/
Hi, I've just got a crawl report for a new wordpress blog with suffusion theme and yoast wordpress seo module and there is duplicate content for: http:// something .com and http:// something .com/ I just can't figure out how to handle this. Can I add a redirect for .com/ to .com in htaccess? Any help is appreciated! By the way, the tag value for rel canonical is **http:// something .com/ **for both.
On-Page Optimization | | DanielSndstrm0 -
Google found bad links delete them or 301 redirect?
we went into our google account and saw about 70 bad links that they found on our site. what's the best thing to do, seo-wise: should we go into the pages that have the bad links and delete them from the html code, or re-direct them in our htaccess script?
On-Page Optimization | | DerekM880 -
How do I Avoid Excessive Internal Links on an eCommerce site?
I think I'm getting dinged for this on Term Target because the page is full of products, which have links to their product page, but I'm not sure.
On-Page Optimization | | PageLogic0 -
What's the Best Way to Hide Redirects from Search Engines?
Hey everybody, I like to use php redirects for affiliate links so they look better. I keep them all in the same directory. I read recently that these may hurt SEO. A couple quick questions: Is this the best way to redirect affiliate links? Should I simply block the directory in robots.txt? Any other suggestions from you SEO guyses and galz? Thanks! Jared
On-Page Optimization | | JaredB0