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
-
Backlinking and Redirect links
Can anyone properly explain that whats the basic differnce between redirects? and backlinks? my site lottery sambad is getting some 301 redirects, is that good or bad??
Link Building | | Mubashir_Baloch0 -
Backlink redirects and resulting SEO impact
Hi, Please see the target URLs on the links in this article: http://www.nextgov.com/technology-news/tech-insider/2015/07/government-hacked-yet-again-its-time-make-government-cybersecurity-national-issue/118561/ As you can see, there is a redirect in place, presumably for tracking purposes. Do these links carry full SEO value?
Link Building | | mikekeeper0 -
HTTPS websites in Directories
Hi Everyone, Whilst trying to submit some client sites to directories we have been struggling to post any of our clients sites that use the HTTPS protocol. When trying to submit they usually come up with an error stating that the website could not be found etc. It doesn't accept it if I remove the HTTPS or replace it with the HTTP version either. Any ideas, or has anyone else had any issues with this? Couldn't find much information about it online anywhere. Thanks 🙂
Link Building | | O2C0 -
Is it worth 301 redirecting an old backlink from a 404 to a landing page?
I was reviewing the 404 report in webmaster tools, when I found a 404 back link from a 10 year old forum topic on a very high DA site. It seems the poster did a direct hotlink to a pdf that was on our site a very long time ago, but is now gone so you get a standard "can not be found" page on our site. Is it now worth redirecting the url to an appropriate landing page, considering the age of the post/ link and the sites DA, or is it not worth it because of the age of the link, its a forum, and we are still getting some juice from it anyway despite it being a 404, and won't get much more out of it. Just want to know it good practice if I find many such links (very old links to now 404 pages) Thanks
Link Building | | PaddyDisplays0 -
301 to main page or deeper page for best 'link juice'.
I have two rafting websites. One ranks high for one set of keywords. The other ranks okay for a different set. I want to redirect the whole second site to the first to give the first more link juice and hopefully lift the first site even more in the rankings. Would it be better to link to a deeper page of the 1st site. I have a page that does well for some long tail keywords or would it be better to link to the main page. Or is it a bad idea over all.
Link Building | | tkobrien0 -
Why is Google not following a 301 redirect on the robots.txt file?
Hi Guys, I recently posted a question on the Google Webmasters Forum http://www.google.com/support/forum/p/Webmasters/thread?tid=683e71557db7fd54&hl=en&fid=683e71557db7fd540004a4b4add8cbb6 and didn't get a satisfactory feedback so I thought I will put this to the SEO gurus on here. Perhaps one of you guys might good buddies with Matt and might be able to ask him directly. I actually posted on Matt's blog but he hasn't got back to me. Basically we did a URL restructure for client and set up 301 redirects and saw a huge drop in rankings over time. The 301 redirects seem to work fine and have been tested by many many people. We suspected that google might be ignoring the 301 redirects or devaluing them and so I reviewed the server log to see what is happening when the googlebot crawls the site and it showed that on many occasions the googlebot did not reload the page after hitting a 301 redirect. Sure.. you might say it probably queues it or Google might just be checking that the 301 redirect is still in place but why check so often (with a few hours to a day on the same URL) it even skips a 301 redirect on the robots.txt file i.e. from http://clientsite.com/robots.txt to http://www.clientsite.com/robots.txt. from non-www to www version. I don't think it is easy to dismiss the skipping of the robots.txt file - this 301 redirect should be loaded immediately to use the instructions the gooblebot requires to crawl the page. Any help will be appreciated. I can sent the server log to anyone personally but I am reluctant to post it on here. Regards, Zan
Link Building | | FRL0 -
Backlinks from HTTPS adresses
I did a search of the Q&A and didn't see a direct answer to this, so here it goes! Is a backlink from an HTTPS address valued the same as an HTTP? Thanks!
Link Building | | endlesspools0