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?
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
-
Redirect question
Hi Everyone I've tried searching elsewhere in these forums for an answer to this but not having much luck - hope I'm not duplicating content! I get this message in Moz: "We have detected that the domain NappyValleyNet.com redirects to www.nappyvalleynet.com. We do not recommend tracking a redirect URL. Would you like to track www.nappyvalleynet.com for this campaign instead?" Is this a set-up issue on my side? I'm not sure what this means? Thank you!
On-Page Optimization | | NappyValleyNet0 -
Duplicate products - is this fix acceptable?
Hey Mozzers, Questions around this have been asked time and time again. But i have a specific example I would like some advice on. I have 2 products, Product 1: https://goo.gl/Gzo1WC
On-Page Optimization | | ATP
Product 2: https://goo.gl/VbrHQJ As you can see, the products are almost identical bar some technical specifications. The owner of the business wants them listing as 2 products, combining them into a single listing with configurable options is not an option. As such I have simply made one a canonical of the other. Whilst not ideal this seems to be the best "SEO" fix. Option 2: My second option is to rewrite the descriptions to they are different - not too hard on this product and a future options when i have more time, however.... I am presented with a similar problem for another product where there are 23 versions of the same product, i cannot rewrite the same info this many times. They are different sizes, ranges, capacities, resolutions and accuracies and must be listed separately but contain all the same features and basic product information. The basic info is too important not to talk about, and talking about all the technical specs would be too much and teaching the customers likely to buy them to suck eggs. As such I have taken the 23 products and broken them down into 5 similar groups of 2 to 6 products. I have then picked 1 product from each group and written a unique description and changed all similar products in its group to match choosing 1product in each group as the canonical for all the others. So 23 same products become 5 unique products with 18 duplicated products pointing to them as canonicals. Any product pointing to another only differs in technical info, 95% of the page is the same. Whilst obviously not ideal, Is this an acceptable use of canonicals?0 -
How do i fix my duplicte page issues on Prestashop platform?
I have tried many things such as rel-canonical, duplicate url redirect modules, but still im looking at over 70 duplicate page titles. Most of this is because the same title is used across all the pages and im not sure if this is possible to change. (ex: http://apostolicclothing.com/15-modest-womens-dresses, http://apostolicclothing.com/15-modest-womens-dresses?p=2)
On-Page Optimization | | nathanielleee0 -
How to redirect subdomain to new blog directory
I have moved my wordpress blog from a subdomain to a subdirectory /blog/ on my site. What is the best way to setup a redirect from the subdomain to the new /blog/ directory? Or should I just delete the subdomain blog and wait for google to index it on /blog/. I need to do one or the other so as not to run into duplicate content issues.
On-Page Optimization | | SamCUK0 -
Acquired Old, Bad Content Site That Ranks Great. Redirect to Content on My Site?
Hello. my company acquired another website. This website is very old, the content within is decent at best, but still manages to rank very well for valuable phrases. Currently, we're leaving the entire site active on its own for its brand, but i'd like to at least redirect some of the content back to our main website. I can't justify spending the time to create improved content on that site and not our main site though. What would be the best practice here? 1. Cross-domain canonical - and build the new content on our main website? 2. 301 Redirect Old Article to New Location containing better article 3. Leave the content where it is - you won't be able to transfer the ranking across domain. Thanks for your input.
On-Page Optimization | | Blenny0 -
Redirecting to homepage ok?
I deleted a bunch of category pages (renamed mostly actually and thought they'd be auto redirected like my blog posts are but they weren't) so I used a plugin that reroutes any 404 page to the homepage. Is that the best thing to do in this situation? Google Webmasters says there are about 84 404-errors and this should get rid of those right? Is there anything SEO BAD about doing it this way?
On-Page Optimization | | dealblogger0 -
We have 5 postions on page 2 in a google search, but none on page 1\. How can we fix this?
For one of our most important key phrases we have 5 listings on page 2 but none on page 1. We are an ecommerce company, the key phrase we're trying for is a Top Level Category name for us, so the 5 links we have on googles second page for the key phrase (in order) are the appropriate top level category page, the sites home page and than three sub categories of that top level category. So while that all makes sense, can't we convince google to concentrate all that link power/juice into just the top level category page? Hopefully bumping it to first page rank? The 5 ranks are 11-15
On-Page Optimization | | absoauto0 -
Trying to maintain rank while switching back & forth from sitewide 301 to 302 redirects?
My company's website has earned industry "authority" over the years and ranks well for a number of keywords. For reasons not worth explaining, we've moved the entire site (all pages) to be secured (https from http). When we launch our completely new website in 5 months from now, we will launch it as "http:" For the next 5 months, we're stuck with using site-wide "https". Is it better to 301 or 302 all pages (from http -> https), with the intent to move back to 301 in 5 months from now? Obviously, this situation is not ideal, but we'd like to preserve as much authority/presence as possible. What should we do and why? Any input would be greatly appreciated!
On-Page Optimization | | WhiteCap0