Should you change Temporary redirects 302's to a 301 even if page is not important/intended for ranking ?
-
Hi
Whilst i appreciate its best practice to 301 redirect permanently moved pages, what if the page is say a login page or other page you not really interested in ranking or transferring juice to ? is it still important/best practice to do so simply because the page has permanently moved hence should still be a 301 even though you don't really want it to rank ?
cheers
dan
-
good info cheers
-
Exactly. If they are redirects because you need to login then a 302 is the way to go. If you use a 301 for those redirects, some browsers may cache that redirect and then when the user is actually logged in, he will still be redirected to the login page as the browser "thought" that page was no longer available (and that can potentially create an infinite loop)...
Over the years, I found 2 options to go about that:
- You want the pages indexed (those accessible after login in): Use 302, and give Google a way to crawl those pages.
- You don't want those pages to be indexed (personal info inside): Then you can (while the user is logged out) point the destination to those pages to the login page with a return path, example: http://www.domain.com/login?return=page-to-return, that way you avoid any 3XX redirect without loosing any pagerank in the process (going over any 3XX redirect looses some pagerank as if it was a regular link).
Hope that helped
-
Thanks for commenting Federico !
Could well be although i don't know for sure - Many of them are to a login page from an 'account/destination/forum' type of url so i presume thats whats happening, needing to redirect temporarily to login, in most of the instances where 302 re-directing to a login page, and hence 302 is correct usage in these instances ?
-
Hmm... are those 302 because you need to login to view that content? or you just removed the page?
If you completely removed the page, then a 301 would be the best option, even if you don't want the final destination to rank, as Simon said, they still accumulate pagerank and pass it to the other linked pages (which some could be of the ones to WANT to rank).
302 are temporary redirects, meaning that it's temporal, at that specific moment the page isn't available (because you need to login to view it, it is being updates, or whatever is the reason), but with a 302 you are basically telling search engines to index that page, but just come back later as specifically now it isn't available.
-
Choosing to leave a redirect as a 302 is not a major issue as it's not going to have any major effect other than, as you rightly say, preventing full flow of link juice to the new page. However, it is worth considering that while you may not wish to rank for this page you are unnecessarily wasting link juice, however minimal.
In theory, if you're not overly concerned about rank for this page you could noindex it. The page, although not indexed, would still accumulate page rank (if you changed to a 301) which you could pass internally to other pages in your site. A noindex page can still accumulate and pass pagerank as this old but still relevant article attests. Really though leaving the 302 in place is not going to be a problem if you decide the benefit of changing it would be minimal.
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
-
How to resolve warning of pages with redirect chain when its your http:// to https://www.
how do I write a 301 redirect in the htaccess file so that http:// goes straight to https://www. Moz replyEli profileHey there!Thanks for reaching out to us!
Technical SEO | | VelocityWebsites0 -
Why can't I redirect 302 errors to 301's?
I've been advised by IT that due to the structure of our website (they don't use sub-folders) it's not possible to change 302's to 301's. Is this correct, or am I being fobbed off?
Technical SEO | | lindsaytuerena0 -
New Site maintaining rank on old URL's
Hi I have a new website going live which has a different page names etc i.e. the old site had pages that are ranking called aboutus.html and the new site is called about.php What is the best approach to maintain the rank and also on orphaned pages Many Thanks
Technical SEO | | ocelot0 -
Webmaster tools doesn't pick up 301 redirect
I had a few hundred URLs that died on my site. Google Webmaster Tools notified me about the increase in 404 errors. I fixed all of them by 301 redirecting them to the most relevant page and did multiple header checks to ensure that the 301 has been implemented correctly. Now a few weeks later, Google is giving me the exact same message in Google Webmaster Tools but they are all still 301 redirected. WTF?
Technical SEO | | DROIDSTERS0 -
Changing title tags, do we need 301 redirects
I found many duplicate title tags and I'm in the process of changing it Do I need 301 redirects in place when I switch it? I am only changing the title tag. Also, we are switching over to a new site very soon, I am worried that we might be using too many 301 redirect "hops" because we are doing a lot of optimization as well. (video from matt cutts describing 301 redirects and hops: http://www.youtube.com/watch?v=r1lVPrYoBkA. Does anyone have any experience in doing too many redirect hops that it affected your rankings? Any good ideas to avoid this?
Technical SEO | | EcomLkwd0 -
How to know what pages are 301 redirecting to me?
Hi! It is easy to know if somebody is spam linking your website, looking i.e., looking at open site explorer to analyse the links profile. But, is it possible to know if a competitor of mine is redirecting a bad domain to main with a 301 redirect, thus transfering any bad SEO reputation to me? Best Regards, Daniel
Technical SEO | | te_c0 -
What if my host doesn't have the 301 redirect feature?
Ok, So i need to do a 301 redirect but my host doesn't have the feature with htaccess. I currently use yahoo. What are my options?
Technical SEO | | bronxpad0 -
301 redirect from root to /index.aspx
I have taken over the SEO for www.domain.net. The way i've inherited the setup is that www.domain.net is 301 redirected to www.domain.net/index.aspx Looking at top pages and linking root domains in Opensiteexplorer I can see that www.domain.net/index.aspx has 1,006 linking root domains www.domain.net has 806 linking root domains. I assume that www.domain.net is passing the value of it's 806 domain links to www.domain.net/index.aspx via the 301 redirect and because of this would expect www.domain.net/index.aspx to be the strongest page on the site and be the url that ranks in the listings for many relevant searches. It appears however that www.domain.net is what is shown in listings and not www.domain.net/index.aspx ?? Can anyone explain why this might be?? If I do a site: search in Google then www.domain.net is indexed and not www.domain.net/index.aspx ??
Technical SEO | | QubaSEO0