I'm trying to redirect our old site from http to https and from a non-www to www at the same time. We have currently a lot of link that we have acquired over the years with the non www & http version of the site and I want to reduce the amount of redirects, since don't want to be diluted by "link-juice". We also have links from https// non-www and http//www :/
Currently the redirect schema looks like this:
http: //domain.com/oldpage.html
301 Moved Permanently
https: //domain.com/oldpage.html
301 Moved Permanently
https: //www.domain.com/newpage.html
200 OK
Is there a workaround to get one 301 redirect less?
For example like this:
http//domain.com/oldpage.html -> to https://www.domain.com/newpage.html