Using 302 redirect for SEO
-
Hello,
I'm in charge of SEO for an information website on which articles are only accessible if you have a login and password. Most of the natural links we get point to our subscribers' subomain : subscribers.mywebsite.com/article1
If they follow these natural links, visitors who are not logged get redirected (302) to www.mywebsite.com/article1 on which there is an extract of the article and they can request a free test subscription to read the end of the article.
My goal is to optimize SEO for the www.mywebsite.com/article1 page.
Does this page benefit from the links I get to the subscribers.mywebsite.com/article1 page or are theses links lost in terms of SEO?
Thanks for your help,
Sylvain
-
That's the gist of it, unfortunately.
Cyrus posted in this blog entry a Tweet from Duane Forrester of Bing saying over time, they learn that 302 redirects encountered repeatedly are more permanent and begin to treat them like 301 redirects. I would imagine Google does something similar because it makes sense to do, and would improve search results overall, but I have no evidence to back that up.
-
So, if someone links to this page :
http://abonnes.hospimedia.fr/articles/20131004-plfss-2014-les-federations-de-l-aide-a
The juice will not flow to this page?
http://www.hospimedia.fr/actualite/articles/20131010-gestion-des-risques-un-projet-de-decret-vient
-
Thanks a lot for your answer
-
I'd recommend not changing these to 301 redirects. 301 redirects are permanent, meaning browsers can (and most will) cache them. Suppose you switch to 301 redirects. If one of your users' sessions ends, and visits subscribers.mywebsite.com/article1, and gets 301 redirected to www.mywebsite.com/article1. They log in, and click the link to subscribers.mywebsite.com/article1. If the browser has cached the redirect, they'll be taken back to www.mywebsite.com/article1! You definitely don't want that to happen.
Some recent experiments have suggested that 302s do pass some link juice (here's one). I'd look up how many links you're actually talking about here linking into subscribers.mywebsite.com.
Rather than doing redirects when users sign in, the best thing from my perspective would be to check to see if the user is signed in, and serve the all the content under the same URL. So all the content would be under www.mywebsite.com, but if they're not logged in, they get the extract of the article, and if they're signed in, they get the full version. That way all of your links would point to the correct page, subscriber or not (and then you could 301 all the subscribers.mywebsite.com links to www.mywebsite.com, since those URLs wouldn't be needed anymore).
Not that I'd recommend cloaking, but you could see if it's Googlebots IP address, and do 301 redirects in that case.
-
Swap the 302s (temporary redirect, no flow of PageRank) with 301s (permanent redirect, normal flow of PageRank). Same functionality. As googlebot won't be logged in, it will get 301 redirected.
-
SE Crawlers are not logged in and will encounter the '302'. So no flow of "link juice" will be passed.
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
-
Is there a limit to Internal Redirect?
I know Google says there is no limit to it but I have seen on many websites that too many 301 redirects can be a problem and might negatively affect your rankings in SERPs. I wanted to know especially from people who worked on large ecommerce site. How do they manage internal redirect from one URL to other and how many according to you are too many. I mean if you get a website that contain 300 plus 301 redirections within the website, how will you deal with that? Please let me know if the question is not clear.
Technical SEO | | MoosaHemani0 -
Is there any benefit in using a subdomain redirected to a single page?
For example if we have a domain www.bobshardware.com.au and we setup a subdomain sydneysupplies.bobshardware.com.au and then brisbanescrewdrivers.bobshardware.com.au and used those in ad campaigns. Each subdomain being redirected back to a single page such as bobshardware.com.au/brisbane-screw-drivers etc. Is there a benefit ? Cheers
Technical SEO | | techdesign0 -
Redirect Error
Hello, I was sent a report from a colleague containing redirect errors: The link to "http://www.xxxx.com/old-page/" has resulted in HTTP redirection to "http://www.xxxx.com/new-page".Search engines can only pass page rankings and other relevant data through a single redirection hop. Using unnecessary redirects can have a negative impact on page ranking. Our site is host on Microsoft Servers (IIS). I'm not sure what is causing these errors. Would it be the way the redirect was implemented.
Technical SEO | | 3mobileIreland0 -
The use of robots.txt
Could someone please confirm that if I do not want to block any pages from my URL, then I do not need a robots.txt file on my site? Thanks
Technical SEO | | ICON_Malta0 -
Does anyone use paid seo tools
Hi, i see a lot of people claiming that paid seo tools work, i would like to know if anyone uses them. I have a new site that i am building and i am wondering if there are any good paid tools out there that could help me gain exposure quicker. I get a lot of emails from well known companies promoting their paid tools but have never bought any as i believe you should hear from people who have tried them first. If you feel there are any good paid seo tools out there for help with rankings and link building then i would love to hear about them
Technical SEO | | ClaireH-1848860 -
Redirect questions
Hi! A client of mine have created a new site with a new URL structure which they launched the other day. They have done a 301 redirect on all pages on the old site to the start page on the new site. E.g:
Technical SEO | | lojdqvist
www.olddomain.com/subfolder1/index.html -> www.newdomain.com
www.olddomain.com/subfolder2/index.html -> www.newdomain.com I'm thinking of fixing this now so the redirect instead looks someting like this:
www.olddomain.com/subfolder1/index.html -> www.newdomain.com/newsubfolder1/index.html
www.olddomain.com/subfolder1/index.html -> www.newdomain.com/newsubfolder1/index.html Two questions: 1. Is it worth doing the latter kind of redirect in all cases (after all, it involves quite a lot more work compared to the first solution)? or do you recommend the first solution for all redirect projects?
2. Now that they have already done the first solution, is it at all worth amending this to the latter or is everything spoiled now that they have already gone ahead with the first solution? Many thanks in advance!0 -
301 redirect Issues
my clients site is www.greenbayharvest.co.uk When you enter that URL it redirects to www.greenbayharvest.co.uk/shop, dont ask why, thats the way they set it up and thats what im stuck with. So, how do i resolve the 301 issue here. we want all things to point to www.greenbayharvest.co.uk, in terms of SEO but does the fact that there is a redirect going to /shop make this an issue? we appear to have: www.greenbayharvest.co.uk/shop www.greenbayharvest.co.uk greenbayharvest.co.uk greenbayharvest.co.uk/shop all these URL's go to the same same page so what is the best way to correct this? thanks for any help on this Lee
Technical SEO | | IPIM0 -
Query String Redirection
In PHP, I'm wanting to store a session variable based upon a link that's clicked. I'm wanting to avoid query strings on pages that have content. My current workaround is to have a link with query strings to a php file that does nothing but snags the variables via $_GET, stores them into $_SESSION, and then redirects. For example, consider this script, that I have set up to force to a mobile version. Accessed via something like a href="forcemobile.php?url=(the current filename)" session_start(); //Location of vertstudios file on your localhost. Include trailing slash $loc = "http://localhost/web/vertstudios/"; //If GET variable not defined, this page is being accessed directly. //In that case, force to 404 page. Same case for if mobile session variable //not defined. if(!(isset($_GET["url"]) && isset($_SESSION["mobile"]))){ header("Location: http://www.vertstudios.com/404.php"); exit(); } //Snag the URL $url = $_GET["url"]; //Set the mobile session to true, and redirect to specified URL $_SESSION["mobile"] = true;header("Location: " . $loc . $url); ?> Will this circumvent the issue caused by using query strings?
Technical SEO | | JoeQuery0