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
-
I have lose my ranking Via 301 Redirection - How To Recover?
Hey, Folks! I Have Used 301 Redirection Method to Increase My Rankings but When i applied this Method My Website Ranked Down To 55 Numbers. Can anyone Suggest me How to Recover it?
Technical SEO | | SumitJiGupta0 -
Home Page Ranking Instead of Service Pages
Hi everyone! I've noticed that many of our clients have pages addressing specific queries related to specific services on their websites, but that the Home Page is increasingly showing as the "ranking" page. For example, a plastic surgeon we work with has a page specifically talking about his breast augmentation procedure for Miami, FL but instead of THAT page showing in the search results, Google is using his home page. Noticing this across the board. Any insights? Should we still be optimizing these specific service pages? Should I be spending time trying to make sure Google ranks the page specifically addressing that query because it SHOULD perform better? Thanks for the help. Confused SEO :/, Ricky Shockley
Technical SEO | | RickyShockley0 -
Www.xyz.com v/s xyz.com creating duplicate pages
I just put my site in moz analytics. The crawl results says I have duplicate content. When I look at the pages it is because one page is www.xyz.com and the duplicate is xyz.com. What causes this and how can it be fixed. I'm not a developer, so be kind and speak a language I can understand. Thanks for your help 🙂
Technical SEO | | Britewave0 -
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 -
How to safely reduce the number of 301 redirects / should we be adding so many?
Hi All, We lost a lot of good rankings over the weekend with no obvious cause. Our top keyword went from p3 to p12, for example. Site speed is pretty bad (slower than 92% of sites!) but it has always been pretty bad. I'm on to the dev team to try and crunch this (beyond image optimisation) but I know that something I can effect is the number of 301 redirects we have in place. We have hundreds of 301s because we've been, perhaps incorrectly, adding one every time we find a new crawl error in GWT and it isn't because of a broken link on our site or on an external site where we can't track down the webmaster to fix the link. Is this bad practice, and should we just ignore 404s caused by external broken URLs? If we wanted to reduce these numbers, should we think about removing ones that are only in place due to external broken URLs? Any other tips for safely reducing the number of 301s? Thanks, all! Chris
Technical SEO | | BaseKit0 -
We're working on a site that is a beer company. Because it is required to have an age verification page, how should we best redirect the bots (useragents) to the actual homepage (thus skipping ahead of the age verification without allowing all browsers)?
This question is about useragents and alcohol sites that have an age verification screen upon landing on the site.
Technical SEO | | OveritMedia0 -
How should 301 redirects affect Page Authority?
We recently setting up 301 redirects from one of our sites so that the site redirects from the www version to the non-www version for all pages. We want to quantify what we expect to see as results. From what the experts say, we'd expect that the Page Authority of the canonical versio (non-www) will be higher than either of the two separate ones were previously. For instance, if this page - www.website.com/information/ - had a PA of 57 and this one - website.com/information/ - had a PA of 53, some time after the 301 redirects from www to non-www have been put into place, we should see the non-www version of that page move up to some PA about 57. It our thinking correct? How long does it normally take to see a PA update take place in a scenario like this? Thanks, Richard
Technical SEO | | LDS-SEO0 -
On Page 301 redirect for html pages
For php pages youve got Header( "HTTP/1.1 301 Moved Permanently" );
Technical SEO | | shupester
Header( "Location: http://www.example.com" );
?> Is there anything for html pages? Other then Or is placing this code redirect 301 /old/old.htm http://www.you.com/new.php in the .htaccess the only way to properly 301 redirect html pages? Thanks!0