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
-
Will this URL structure: "domain.com/s/content-title" cause problems?
Hey all, We have a new in-house built too for building content. The problem is it inserts a letter directly after the domain automatically. The content we build with these pages aren't all related, so we could end up with a bunch of urls like this: domain.com/s/some-calculator
Technical SEO | | joshuaboyd
domain.com/s/some-infographic
domain.com/s/some-long-form-blog-post
domain.com/s/some-product-page Could this cause any significant issues down the line?0 -
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 -
Http to https - is a '302 object moved' redirect losing me link juice?
Hi guys, I'm looking at a new site that's completely under https - when I look at the http variant it redirects to the https site with "302 object moved" within the code. I got this by loading the http and https variants into webmaster tools as separate sites, and then doing a 'fetch as google' across both. There is some traffic coming through the http option, and as people start linking to the new site I'm worried they'll link to the http variant, and the 302 redirect to the https site losing me ranking juice from that link. Is this a correct scenario, and if so, should I prioritise moving the 302 to a 301? Cheers, Jez
Technical SEO | | jez0000 -
We have set up 301 redirects for pages from an old domain, but they aren't working and we are having duplicate content problems - Can you help?
We have several old domains. One is http://www.ccisound.com - Our "real" site is http://www.ccisolutions.com The 301 redirect from the old domain to the new domain works. However, the 301-redirects for interior pages, like: http://www.ccisolund.com/StoreFront/category/cd-duplicators do not work. This URL should redirect to http://www.ccisolutions.com/StoreFront/category/cd-duplicators but as you can see it does not. Our IT director supplied me with this code from the HT Access file in hopes that someone can help point us in the right direction and suggest how we might fix the problem: RewriteCond%{HTTP_HOST} ccisound.com$ [NC] RewriteRule^(.*)$ http://www.ccisolutions.com/$1 [R=301,L] Any ideas on why the 301 redirect isn't happening? Thanks all!
Technical SEO | | danatanseo0 -
Website's stability and it's affect on SEO
What is the best way to combat previous website stability issues? We had page load time and site stability problems over the course of several months. As a result our keyword rankings plummeted. Now that the issues have been resolved, what's the best/quickest way to regain our rankings on specific keywords? Thanks, Eric
Technical SEO | | MediaCause0 -
N/A page rank or "grey bar"
I have a web site that is over 10 yrs old, It also has over 30,000 links to it. Last week it received a N/A or "grey bar" page rank. The site also still is listed in the SERPS for my keywords, in fact for a few they have actually improved. The organic traffic is following the same pattern as last year. Webmaster tools doesnt list any critical issues or errors. Is there anything I can do to remedy the situation, or is this just a wait and see? Website is www.netnanny.com.
Technical SEO | | Court_H0 -
Does it really matter to set 301 redirect for not found error pages?
I've very simple question for not found error pages. Does it really require to set up 301 redirect for all not found error pages which detected in Google webmaster tools? Honestly, I don't want to set 301 redirect exclude externally connected pages. So, what will impact on ranking after follow this process?
Technical SEO | | CommercePundit0 -
Redirect or not to redirect
We are rebuilding a website and try to get rid of errors. The content remains exactly the same but we correct the code and make it load faster. The site has quite many backlinks and I can't decide whether to remove .html endings from the urls and 301 redirect to the new ones or leave them with the older ending. If I remove the endings how much of the link juice will be passed? Anyone any idea?
Technical SEO | | sesertin0