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
-
How long keep 301 redirects?
Our site has been updated twice in the past 6 years with new, better urls. Initially we did 301 redirects 3 years ago for the url redirects. Recently some of those redirected pages have been redirected again. Question: How long before it's time to have the old, original urls removed through Google? And, once that is done, how long to wait before removing the older redirects from the htaccess file? Appreciate any feedback/insights on this matter.
On-Page Optimization | | Manifestation0 -
Over Optimization and how to fix it
Hey Y'all, I had a question about over-optimization. So if I'm targeting "Social Security Lawyer Allen, TX" on the home page, then "SSDI Lawyer Allen, TX," on another page, could that be hurting my efforts on Google? Should I remove all of the efforts targeted toward Allen, TX on the other page, or should I maybe target like a different city?
On-Page Optimization | | Charles_Murdock0 -
Duplicate content shown in Google webmaster tools for 301 redirected URLs.
Why does Google webmaster tools shows 5 URLs that have been 301 redirected as having duplicate meta descriptions?
On-Page Optimization | | Madlena0 -
301 Redirect from .html
Hi there, Following on from this post:
On-Page Optimization | | finelinewebsolutions
http://moz.com/community/q/help-with-duplicated-content Please could one confirm that using the following code in our htaccess file will stop the duplicated content issue we are having. RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+.)+html?\ HTTP
RewriteRule (.+).html?$ http://www.bereavementstationery.co.uk/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html Kind Regards Alec0 -
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 -
Need to hire an SEO consultant to fix my website
Just started using SEOmoz and discovered lots of issues with my site. Need some help. Obviously the person could access my SEOmoz account and make sense of all that is needed. Then either go to my website and fix or tell me what to do. Thanks, Scott
On-Page Optimization | | ecoscott0 -
Building content pages, redirecting and linking
Previously the company had created some .HTML content pages around top shoe styles and top manufactures. One or two of these pages used to rank but have been neglected over the page 18 months. I want to build out new content round our top styles / top manufactures and I am wondering if I should use the existing HTML pages or create new pages that use our content management system. The .HTML pages can contain keywords in the URL, using our content management system, all URL’s are www.site.com/content/home/contentid=1234abcd. If we use the .HTML pages all content is managed manually. If we build out 6 to 10 pages, this can become a resource issue and may result in a bad experience for the website visitor. From an SEO perspective, does the benefit of having the keywords in the URL outweigh the manual management hassles? And if not, should we 301 all the HTML pages to the new content pages? And from a linking standpoint, I want these content pages to point to the new version of the top style. From a navigation standpoint, we also want to provide access to all styles from the manufacture. Should we nofollow the links to all styles?
On-Page Optimization | | seorunner0 -
301 redirect OK for a newer version of a page that is a different url?
I have about 500 products with multiple urls for the same product, but different versions. I sell wine and have a different page for each vintage. I've decided that is not the best way to go, and want to point the older vintage pages to the latest version page, and make that the only page for the product as time goes on. Do I have to put a link in the text from each older page to the newer, or can I use a 301 to redirect them to the new page? I don't want google to think I'm pulling something funny.
On-Page Optimization | | JeanYates0