Http Redirects to Https - then to Redirect 301
-
Searched - not seeing this exact issue(sorry if I'm wrong).
I'm my report I'm seeing that we have old URLs in the wild using http. Those requests come to our site, and then are redirected to the https version. However if this url does not exist, then there's another redirect 301 to the actual page.
This obviously causes a redirect chain. I've searched but don't see a clear answer to this. How can I avoid the chain? How can I go from the http to the new https URL without first incurring the double redirect?
"Look for any recurring chains that could be rewritten as a single rule. "
FWIW I don't see any http to https rewritecond's in my htaccess, and cannot trace where that redirect is generated from.
-
Its actually Magento, so htaccess should be where the http --> https redirect resides, but there's nothing there.
-
Hi there, if it's not on htaccess and you're on WordPress, check if you have redirect plugins? If not on those two, the redirect was probably done via code. I found this article, which may hopefully help you - https://www.webconfs.com/154/301-redirects-how-to-redirect-your-website/
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
-
Is it worth getting a backlink to a page that will be 301'd?
I have an opportunity to get high value backlinks (from the Emmy's) to a landing page before our new website is live. The backlinks won't be free and they would go live before the website is live. Is it worth spending the money if the landing page will be redirected once the site goes live?
Link Building | | TimThiel0 -
Is it Safe to do 301 Redirects on Tiered Expired Domains?
Is this considered a safe SEO friendly strategy to redirect expired domains using 301s to your higher tiered domains? Thank you!
Link Building | | SteveScott310 -
Subdomains, blogs and redirects, oh my!
Hello! We are currently hosting our blog on Medium which I would like to move away from. The options now are to host the blog with our custom CMS or use the HubSpot blog capabilities. I know their blog has built-in SEO best practices but I'm pretty sure it hosts the blog on a subdomain. I keep getting conflicting advice on this. In a whiteboard Friday Rand once said to NEVER host on a subdomain. But I know that google now associates links that redirect to the original site. I.e. If redpepperland.com redirects to repepper.land then redpepper.land should have all the link juice of redpepperland.com, right? But Moz doesn't recognize any inbound links to redpepper.land, I have to actually put redpepperland.com in as an additional site to see those links and the domain authority which worries me. So I guess two questions: 1. Does anyone have experience with Hubspot's blog? Will the subdomain hurt our SEO efforts? 2. Does google now know how to associate a redirect's link juice and domain authority to the page it redirects to? Not sure I know what I'm talking about at all but any help would be greatly appreciated!
Link Building | | redpepperland0 -
Links to www version of my site, but we are on http - is this a problem?
My website is hosted on e.g. http://eg1 but i have lots of links and new links pointing to http://www.eg1
Link Building | | fattestcat
Is this something to worry about?
Should i contact the sites and ask them to change the links to http?
Or is it nothing to worry about? Thanks for your advice.0 -
Is there a downside to "closing" a domain and 301'ing to to your main domain?
We have a domain which was optimized for a specific keyword. It does very well for that keyword, but seems like it has in turn caused our primary domain to be penalized (back to page 3) for that same keyword (We think they've figured out the connection). The optimized domain (only one page) has links on it to our primary domain, so I don't want to delete it as that's where our traffic currently comes from. But if I deleted it and 301'ed it to the primary domain is there a downside? Alternatively I could disavow it, but if the search engines know it's the same owner will they hold that against all domains? Or, alternatively again. Should I turn it into a more substantial website? Which could in turn remove it's "spamminess". Any suggestions are welcomed!
Link Building | | absoauto0 -
Linkbuilding to http/https
Hello, Last year we changed our domain name from http to https. In the .htaccess we included a 301 redirect from http to https. Nevertheless, some pages do not let you link to https, so for linkbuilding we sometimes need to use http://www.domain.ext in stead of https://www.domain.ext. Would this be a problem? I should expect with the 301 redirect that we don't have an issue here, but I would like to be sure. Although, I can make the site accessible without https too, but I don't think this is a good idea regarding duplicate content, is it? Thanks. Tom
Link Building | | Onlinq0 -
301 Direct with a deleted domain newbie
Hello I'm wondering if the 301 redirect to your money site with a high pr deleted domain still works post penguin. Will all the link strength pass on to the new domain? What if the domain has nothing to do with your niche? Does that affect it or no?
Link Building | | 6786486312640 -
Link on a https page
Hi there, I have the opportunity to get a link on a https page.I can't see any page rank but it has lots of good links to the http url. How Google will value this link? any study? Thanks
Link Building | | montseyel0