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
-
Content change within the same URL/Page (UX vs SEO)
Context: I'm asking my client to create city pages so he can present all of his appartements in that specific sector so i can have a page that ranks for "appartement for rent in +sector". The page will present a map with all the sector so the user can navigate and choose the sector he wants after he landed on the page. Question: The UX team is asking if we absolutly need to reload the sector page when the user is clicking the location on the map or if they can switch the content within the same page/url once the user is on the landing page. My concern: 1. Can this be analysed as duplicate content if Google can crawl within the javascript app or if Google only analyse his "first view" of the page. 2. Do you consider that it would be preferable to keep the "page change" so i'm increasing the number of page viewed ?
Technical SEO | | alexrbrg0 -
Soft 404's on a 301 Redirect...Why?
So we launched a site about a month ago. Our old site had an extensive library of health content that went away with the relaunch. We redirected this entire section of the site to the new education materials, but we've yet to see this reflected in the index or in GWT. In fact, we're getting close to 500 soft 404's in GWT. Our development team confirmed for me that the 301 redirect is configured correctly. Is it just a waiting game at this point or is there something I might be missing? Any help is appreciated. Thanks!
Technical SEO | | MJTrevens0 -
Are backlinks the reason for my site's much lower SERP ranking, despite similar content?
Hi all, I'm trying to determine why my site (surfaceoptics.com) ranks so much lower than my competitor's sites. I do not believe the site / page content explains this differential in ranking, and I've done on-site / on-page SEO work without much or any improvement. In fact I believe my site is very similar in quality to competitor sites that rank much higher for my target keyword of: hyperspectral imaging. This leads me to believe there is a technical problem with the site that I'm not seeing, or that the answer lies in our backlink profile. The problem is that I've compared our site with 4 of our competitors in the Open Site Explorer and I'm not seeing a strong trend when it comes to backlinks either. Some competitors have more links / better backlink profiles but then other sites have no external links to their pages and lower PA and DA and still outrank us by 30+ positions. How should I go about determining if the problem is backlinks or some technical issue with the site?
Technical SEO | | erin_soc0 -
Should I change by URL's
I started with a static website and then moved to Wordpress. At the time I had a few hundred pages and wanted to keep the same URL structure so I use a plugin that adds .html to every page. Should I change the structure to a more common URL structure and do 301 directs from the .html page to the regular page?
Technical SEO | | JillB20130 -
Is it better to delete web pages that I don't want anymore or should I 301 redirect all of the pages I delete to the homepage or another live page?
Is it better for SEO to delete web pages that I don't want anymore or should I 301 redirect all of the pages I delete to the homepage or another live page?
Technical SEO | | CustomOnlineMarketing0 -
How can I prevent duplicate content between www.page.com/ and www.page.com
SEOMoz's recent crawl showed me that I had an error for duplicate content and duplicate page titles. This is a problem because it found the same page twice because of a '/' on the end of one url. e.g. www.page.com/ vs. www.page.com My question is do I need to be concerned about this. And is there anything I should put in my htaccess file to prevent this happening. Thanks!
Technical SEO | | onlineexpression
Karl0 -
Setup 301 Redirects
I have been asked to transfer a clients old domain over to a new domain with a new site. All of the inbound links basically go to the homepage, and the few links that dont go to the homepage on the old site, might as well be redirected to the homepage on the new site. I'm wondering is there a "catch all" sort of redirect such as www.oldsite.com/* redirects to newsite.com. So any redirects we havent set up will automatically go to the new site homepage? And secondly, whats the easiest way to the redirects up? Can I just add it as a parked domain or addon domain in cpanel, and do the redirects in there? Or does it needs its own hosting for the old domain with its own htaccess file? Any help appreciated! 🙂
Technical SEO | | timscullin0 -
If you only want your home page to rank, can you use rel="canonical" on all your other pages?
If you have a lot of pages with 1 or 2 inbound links, what would be the effect of using rel="canonical" to point all those pages to the home page? Would it boost the rankings of the home page? As I understand it, your long-tail keyword traffic would start landing on the home page instead of finding what they were looking for. That would be bad, but might be worth it.
Technical SEO | | watchcases0