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
-
Redirect 301 multiple url to frontpage
I have a lot of /dummy.php/xxx pages that i would like to redirect to the front page. /dummy.php/100
Link Building | | Morten-Hjemmesider
/dummy.php/101
/dummy.php/102
..... redirect 301 /dummy.php/WILDCARD http://www.domain.com I can not figure it out?0 -
Switching CMS and want to redirect links
Hi guys, I have a site that I run which has been around for a little while. It is actually in phpnuke, it also has a phpbb forum.. The site is so customized that I need to move it to something newer. So I am moving it to Joomla. I created a new domain just to get the joomla site created so I can move it to the main domain. My question is this. How should I go about switching from phpnuke to joomla without losing the links that are going to my site. Also, where can I find the links that are pointing to my site? Thanks for looking.
Link Building | | trumpfinc0 -
I'm thinking about buying a competitor and 301 redirecting? How much SEO value?
I'm thinking about buying a competitor and 301 redirecting their site to mine. The high level stats are as follows. My site has a DA of 46 and the homepage has a PA of 55. 375 root domains, 170,000 links. The site sells millions of dollars worth of product each year. The competitor (who I had never heard of) has a DA of 58 and a homepage PA of 64. They have 634 root domains and 260,000 links. They aren't selling much of anything (less than 100,000 per year). We might be able to operate their site but I'm concerned about maintaining 2 platforms. My question is about the value of buying this site and 301 redirecting it to my site. Would this create long term SEO value or not? Any examples that have been documented are greatly appreciated.
Link Building | | bradwayland0 -
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 -
301 redirect blog network to main site, good or bad?
Hi, Here is a newbie question. When we launched our web shop 18 months ago I started eight blogs on a different host with keyword rich domain names to get some links to the shop. Today I don't update them, but they have a lot of links to our shop and the blogs have something like DA 20 and PA 30-40. There are lots of links between the blogs as well. Can I do 301 redirects of the blogs/posts to the web shop to rank higher in the SERP for the keywords? If I do, what happens to the links from the blogs to the shop? Will the shop loose a lot of links, but gain in PA, DA, mR etc? Overall, would the shop/main site benefit from this? Or should I just leave the blogs and not mess with them? They don't have much traffic. I appreciate any input, thanks!
Link Building | | DanielSndstrm0 -
Retain keywords with redirect
I manage a site the sells product A and product B (both major keywords for us). If I buy the url www.productB.com and redirect it to the original website, would the original website gain any benefits in search engines? Would the benefits of having a url with the keyword be lessened because there isn't content hosted there, only a redirect to the original site?
Link Building | | livethesource0 -
301 Redirect Domains with old links
I came across a nice discovery of about 20 old domain names that each have many root domains and a bit of DA. I want to know the best way to utilize them without any type of penalty. Currently, (as of an hour ago) I am 301 redirecting all of them to the most relative pages on a single domain. Will i get the majority of the link juice from the domains? I'm excited to see what will happen here. Thanks in advance, Daniel
Link Building | | seoninja200