302 (Temporary Redirect) up and growing, how to fix?
-
Hi guys.
On my website I have an action that will only perform if you are logged into your account, otherwise you are redirected to the login page causing a 302 redirection.
When SEOmoz crawls my website, it gets all these redirections to the login page, but I really can't do much better so what is the best way of fixing this?
I've thought of using rel="nofollow", but I want make sure this change will fix my issue, both with the SEOmoz crawler and any other search engine crawler.
Thank you guys so much!
-
Hi Éber,
In my opinion, it's totally legitimate to nofollow those links to your login page, assuming they are showing the same 302 redirect and login page to Google. This will cut down on excessive crawling and possibly help you out with your Google Crawl "allowance."
If, on the other hand, you wanted to direct some link juice towards your login page, you could turn the 302 into a 301.
There might be other solutions, such as blocking the page with robots.txt, or using clever javascript. That said, nofollow is probably the easiest.
-
I don't think there is anything you can really do to prevent this. That's just the nature of the beast when it comes to pages that can only be seen by privileged users.
Typically, sites I've created, all the "member" pages are located within the own directory, ie. /my-account/, where I place a block on the folder within the robots.txt file so crawlers can't get their hands on privileged information.
-
Not really, my app is written in PHP and I'm doing a simple http redirect.
-
Is it using response.redirect in .NET by any chance?
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
-
301 Redirect or landing page
Hi everyone. I'm currently doing some SEO for a client, at the moment he has some landing pages which are categorised, but the category is set as a 302 redirect. I have a dilemma whether to 301 redirect to the landing page or make a page for each category. The link structure is as follows - http://examplesite.co.uk/products/fire/company-1/product/ so currently this is set as a 302 redirect - http://examplesite.co.uk/products/fire/company-1/ Do I make this page a category page and link the page to the children with some on-page optimisation or 301 redirect it?
On-Page Optimization | | Unbranded_Lee0 -
Worth redirecting old blog posts into pages?
I'm working on a site that has some blog posts from 2011 - 2013 ranking on the first page for relevant terms. I'm going through and updating some of the content, internal links, etc., and wanted to know if it's worth redirecting some of these blog posts into new pages (in WordPress). Right now, the blog post URLs are long - exampleURL.com/2011/3/9/blog-post-title/ and the dates show up in the SERPs. I'd like to have the date removed so that the content doesn't look outdated, and I'd also like to have cleaner URLs. In your opinion, is it worth creating new pages and redirecting the old blog posts, or is the benefit of doing this not worth the effort? Thanks!
On-Page Optimization | | dchristensen30 -
301 Redirect and SEO Rankings
I recently restructured my webpage URL's (about 300 ~ 75% of my total website) to make the URL paths more SEO friendly. Within a few hours of restructuring the pages, I did a 301 redirect to my old URL's and pointed them to the new pages. I have seen ~ 50% drop in organic traffic. I started the restructuring exercise 14 days ago and finished it a few hours back. I have 3 questions: How long will it take for me to recover my old traffic. Will I recover most of it or some of it? Due to a glitch in the specified path, some old URL's were wrongly redirected (this happened with 9 pages to be exact). I will explain exactly what happened: www.redirct.com/superseonow1 ---- redirected to ---- www.redirectnow.com/seonow1 **/superseonow was 301 redirected to /seonow. After 3 days I realize that /superseonow1 was actually /supernow1. The same thing happened to 9 pages - /superseonow2, /superseonow3 ..... ** I have removed all the wrong redirects. When I tried to enter the correct (old) paths now and 301 redirect them to the new paths, the page was not found using the old paths. Should I redirect the old paths to the New ones even now? 3. Finally, in how much time after you change the page structure should you use the 301 redirect. Since I had two different teams working on this job, there could have been up to a 24 hour gap between the redirection.
On-Page Optimization | | rajatsharma0 -
Boatload of 301 Redirects Question
We have a client that came to us and they recently did a site makeover. Previously they had all their pages in root directory including 75+ spammy article pages. On their makeover, they moved all the article pages into a directory and added 301 redirects. In going over their site we noticed they have redundant articles, like an article on blue-marble-article.htm and blue-marbles-article.htm Playing on singular and plural with dulpicate content for most part with exception to making it plural. If they have 75 articles, Id say 1/3 are actually somewhat original content. I would like to 301 redirect 2/3's of the articles to better re-written article pages but that would add a whole lot more 301 redirects. We would then have a 301 redirect from root directory to article directory, then another 301 redirect from spam article to new re-written article. My question is, would this be too many redirects for googlebot to sort through and would it be too confusing or send bad signals? Or should I create a new directory with all good articles and just redirect the entire old articles directory to the new one? Or just delete the redirects and old spammy directory and let those fall on a 404 error page. Id hate to lose 50-75 pages but I think its in fact those spammy pages that could be why the site fell from top of first page google to third page and now 10th page in a years time. I know, Im confused just typing this out. Hope it makes sense for some good feedback and advise. Thanks.
On-Page Optimization | | anthonytjm0 -
Which meta descriptions should I fix first?
Our biggest issue with SEO right now is the lack of meta descriptions. There are a ton of pages that require meta descriptions that we don't know which ones to prioritize first, namely: corporate website pages landing pages for specific content offers that are gated behind a form blog posts Since we can't tackle everything at once, what's best practice around which pages to fix first? Thanks!
On-Page Optimization | | BizoMarketing0 -
How do I do a 301 Redirect in Wordpress
I have several pages that are showing up as "duplicate" on my Wordpress based site based upon the structure of site. I was wondering how to do a 301 redirect for these pages
On-Page Optimization | | SteveSweat0 -
301 Redirect to mobile site effecting rankings
On my site I redirect users when on a mobile device to be redirected to my mobile version of my site. In the last couple weeks I added that redirect in my htaccess file. I just realized today that I am doing a 301 redirect. In the last few weeks my ranking have gotten lower. I am starting to think that because of the redirect my mobile site is not as optimized as my regular site and therefor is effecting my rankings. My question is how can I redirect my users to my mobile site but not use a 301 AND how do I get google to use my main site content for ranking on the mobile side. I want to go back to getting my search rankings on the mobile side using my main sites content. Can I simply remove the 301 on the redirect? Hope that makes sense.
On-Page Optimization | | cbielich0 -
Question regarding two versions of a page (redirect)
At one point in my SEO journey I had noticed some duplicate issues going on in Google webmaster tools (I could have been reading it wrong.) It looked like WMT was saying I had 2 versions of some of pages...it looked like pages that ended in a '/' ranking differently than pages that have no slash at the end. So I downloaded the redirect plugin and redirected many non / pages to the page that end with the "/". This was probably a mistake. but I'm trying to clean all of that up. (I'm also noticing that SEOMoz tools tells me my site has many, many redirected url's. I'm not sure why. I was looking at http://www.opensiteexplorer.org/pages?site=noahsdad.com%2F this morning at my top pages and it shows 2 versions (one being redirected) of the page about my son who was born with Down syndrome. (Noahsdad.com/story and Noahsdad.com/story/) I don't know if I've built rankings for those pages separately and it would now hurt me if I did away with the redirect. I'm not sure why I did the redirects (I must have read something online somewhere.) I'm wondering if someone wouldn't mind looking at the report and letting me know what the best way to 'clean' this stuff up...Should I go into the redirect software and delete all of the redirects where the non / page is being redirected to the / page? Thanks.
On-Page Optimization | | NoahsDad0