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/
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
-
slug Link redirect to subdomain?
Hi !
Link Building | | Leviiii
Im Levi new here and new in the world of SEO, please dont judge if my questions are silly. Back on the days when the site was built we thought it is a good ideea to have subdomains that together with the domain name represent our main keywords.
ex. https://stansted.tonorwich.uk, https://heathrow.tonorwich.uk, https://luton.tonorwich.uk, https://gatwick.tonorwich.uk. There is content on this subdomains, would it make any difference from SEO perspective if we create slugs that redirect to these subdomains? for example creating https://tonorwich.uk/taxi-minibus-vip-tesla-norwich-to-stansted that redirects to https://stansted.tonorwich.uk ? Or better create these slugs with slightly different content?
Any ideeas would be appreciated.
Thanks in advance!0 -
Slug redirect to existing subdomain?
Hi everyone, I'm Levi, new here and new in the world of SEO so please don't judge if my question is silly. Back on the days when my website was built we tought of having subdomains to help with SEO. We have a couple subdomains set up https://stansted.tonorwich.uk, https://heathrow.tonorwich.uk, https://gatwick.tonorwich.uk, https://luton.tonorwich.uk etc .
Link Building | | Leviiii
We do have some content on these, but from seo perspective creating a slug and redirecting it to the subdomains would be beneficial? Would it make any difference at all, good or bad? Ex. Creating
https://tonorwich.uk/taxi-minibus-tofrom-stansted and redirecting it to https://stansted.tonorwich.uk
Will this help or we better create different content on the slugs? Waiting for your opinions.
Thanks in advance.0 -
301 redirect backlink
Hello, My website is brand new! I am planning to do have some 301 redirect backlinks. Is it safe in terms of SEO ? Do i have any SEO benefits? let me know. Thanks
Link Building | | EchoMartinez1 -
Buy domain, redirect, get all the good links (+link juice) and disavow the spammy ones?
There is a domain for sale that has a quite nice profile and a lot of good backlinks, but also quite a few spammy ones. This domain has a Spam Score of 14% acc. to Moz Link explorer, ours has only 2%. My questions: 1. The domain and the good backlinks are related to or close to our content/keywords. But we are worried whether the "spammy" ones will hurt us. Does anyone has experience with this? 2. Would it help if we disavow the spammy backlinks afterwards? And if so, how do we do that? Add new domain to search console, disavow the bad links and then redirect the entire domain to our domain or redirect the domain first and then disavow from our property? Many thanks for your help!
Link Building | | pissuptours0 -
301 redirect from a de-indexed site
Is link juice passed from a website that has been intentionally de-indexed by webmaster? The scenario is I had 2 websites with similar content. I decided to get rid of one by de-indexing. I also did a 301redirect from my de-indexed site. Not the whole domain but just the 2 URL's which I believe could pass on link juice. In this case how long the link juice would flow via 301 redirect?
Link Building | | riyaaaz0 -
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 -
Do http:// links to a http://www. site count the same to Google?
In terms of links to one's site helping your position on Google, if your site defaults to http://www.example.com (automatically adds "www." even if it isn't typed), does Google count links that appear as http://example.com (without the www.) with the same "weight"? Thanks.
Link Building | | celife0 -
Does this redirect pass any juice?
Does this link pass link juice: http://www.finda.co.nz/redirect.php?listing_id=r2vp&url=http://www.avantifinance.co.nz
Link Building | | conradh1