301 and 302 for same link
-
Just trying to find out if this may be the root of a slight traffic dip and also if we should be redirecting differently.
We relaunched and did 301 redirects to the new site, initially. Then, we decided to change from http to https. Our HTTP status now looks like this when using the MozBar:
HTTP/1.1 301 Moved Permanently – http://site.com/oldurl
HTTP/1.1 302 Found – https://site.com/oldurl
HTTP/1.1 200 OK - https://site.com/newShould we be changing that 302 to a 301? Are we losing link equity due to this?
Thanks.
-
This is really great, I appreciate your help
-
And here is Matt Cutts talking about multiple redirects: https://www.youtube.com/watch?v=r1lVPrYoBkA
-
Use the infographic. Seriously. That is what I did to explain the concept to our developer and it worked better than any long-winded descriptions I had tried.
-
Ok. How would you suggest I clarify this for the coder? (I am not that person )
-
According to your description, http://site.com/oldurl is the link with equity and https://site.com/new is the final destination link. Is this correct? To get from one to the other you go via a 302 and at that point you lose your equity. Whether it is a redirect of a redirect or not.
And in general, multiple redirects should be avoided. Google will follow multiple redirects, but you will lose some authority with each jump, and at some point, maybe more than 3 or so, Google will give up.
-
Given there are two levels of redirects, does this act in the same way? I know 302s lose equity, but given we have a double redirect going on, I wasn't sure if it carries the same loss of link juice?
Also, if we do change that 302 to a 301, is the damage already done?
Thanks for your reply and yes, I agree that infographic is great.
-
Yes, using a 302 redirect loses link equity. You can take a look at: http://moz.com/learn/seo/redirection for more information. "A 302 redirect is a temporary redirect. It passes 0% of link juice (ranking power) and, in most cases, should not be used. "
*I also love this infographic: http://moz.com/learn/seo/http-status-codes
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
-
Broken URL Links
Hi everyone, I have a question regarding broken URL links on my website. Late last year I move my site from an old platform to Shopify, and now have broken URL links giving out 4xx errors. When I look at Moz Pro>Campaigns>Insights>links, I can see the top broken URL links, however there is a difference if copy & paste URL directly from Moz Pro and by Export CSV file. For example below, If I copy and paste links direct from Moz Pro, it has the “http://” in front as below: http://www.thehairhub.com.au/WebRoot/ecshared01/Shops/thehairhub/57F3/1D8F/D244/C675/E27D/AC10/003F/35AD/manic-panic-colours.jpg But when I export the list of links as an CSV file, the http:// is removed. www.thehairhub.com.au/WebRoot/ecshared01/Shops/thehairhub/57F3/1D8F/D244/C675/E27D/AC10/003F/35AD/manic-panic-colours.jpg Another Example below: By copy & paste URL direct from Moz Pro
Technical SEO | | johnwall
http://thehairhub.com.au/Shop-Brands/Vitafive-CPR/CPR-Rescue By export CSV file.
thehairhub.com.au/Shop-Brands/Vitafive-CPR/CPR-Rescue Which one do I use to enter into the “Redirect From” field in Shopify URL Redirects? Do I need to have the http:// in front of the URL? Or is it not required for redirects to work? Kind Regards, John Wall
The Hair Hub0 -
Missing 301 redirects
I just had a developer friend call me in a panic, because they had gone live with a new site and found out (the hard way) that they had missed some pages on their 301 redirects. So the pages are appearing in Google but serving 404s. Ouch! So their question was: other than running a report for 404 errors in something like Screaming Frog, is there a way to hunt down ONLY pages serving 404s, then export to CSV so they can be redirected? Anyone got any tricks up their sleeve?
Technical SEO | | muzzmoz0 -
Links in a Flash document
How do I tell if a link in a Flash document is follow or nofollow? Or doesn't it matter? (I just found out that my company placed an advertorial in a Flash publication and I want to make sure it doesn't wind up as a paid, followed link.) Thank you!
Technical SEO | | Linda-Vassily0 -
Too many links?
Hello! I've just started with SEOmoz, and am getting an error about too many links on a few of my blog posts - it's pages with high numbers of comments, and the links are coming from each commenter's profile (hopefully that makes sense they're not just random stuffed links). Is there a way to help this not cause a problem? Thanks!
Technical SEO | | PaulineMagnusson0 -
Site Purchase and 301
Hello, I just started working with a new client. Since then the client has purchased another company. We have re-branded the new companies home page and 301 redirected the rest of the site's links to the corresponding pages on the holding companies site. Since then the rankings have tanked. I looked at both companies back link profiles and realized that they are quite spammy from the last SEO contractor they hired. That said, the site was ranking fine until last Friday. I was wondering if anyone had seen temporary rankings decrease after 301ing a domain to a different site? Thanks!
Technical SEO | | TargetClick0 -
Prestashop, language and 301
Hello, A question about Prestashop: I noticed that there are some Prestashop websites, with only one language, that work with a redirection from the main domain (for exemple, www.domain-name.com) with a 301 redirection to the main language url (for example, www.domain-name.com/fr ) Here is an example: http://prestaplayers.com/fr/ Assuming that French is the only language on that website, and knowing that links are generally made to www.domain-name.com (and not to www.domain-name.com/fr) I assume that some netlinking juice is lost for no reason, due to the 301 redirect ? In this case, and if the website exists for some years, what should be done ? Change all the urls because of that problem ? Or maybe change the stronger links to make them point to the real address (www.domain-name.com/fr) ? Thank you in advance for yout help dans suggestions !
Technical SEO | | Spleen0 -
Unwanted spam pharmacy links
Somebody has been building spam pharmacy links to one of our client sites. I presume they hacked the site and were trying to get their injected pages to rank for pharmacy keywords. The hack appears to be gone now, but we will check more code to be sure. However, we're still left with a bunch of really spammy links, with pharmacy related anchor texts. Anyone had any experience dealing with this? Did the links hurt your rankings? How did you get rid of or mitigate them?
Technical SEO | | AdamThompson0 -
Robots.txt and 301
Hi Mozzers, Can you answer something for me please. I have a client and they have 301 re-directed the homepage '/' to '/home.aspx'. Therefore all or most of the linkjuice is being passed which is great. They have also marked the '/' as nofollow / noindex in the Robots.txt file so its not being crawled. My question is if the '/' is being denied access to the robots is it still passing on the authority for the links that go into this page? It is a 301 and not 302 so it would work under normal circumstances but as the page is not being crawled do I need to change the Robots.txt to crawl the '/'? Thanks Bush
Technical SEO | | Bush_JSM0