Should you 301, 302, or rel=canonical private pages?
-
What should you do with private 'logged in' pages from a seo perspective? They're not visible to crawlers and shouldn't be indexed, so what is best practice? Believe it or not, we have found quite a few back links to private pages and want to get the ranking benefit from them without them being indexed.
Eg: http://twiends.com/settings (Only logged in user can see the page)
302 them: We can redirect users/crawlers temporarily, but I believe this is not ideal from a seo perspective? Do we lose the link juice to this page?
301 them: We can do a permanent redirect with a short cache time. We preserve most link juice now, but we probably mess up the users browser. Users trying to reach a private page while logged out may have issues reaching it after logged in.
**Serve another page with rel=canonical tag: **We could serve back the home page without changing the URL. We use a canonical tag to tell the crawlers that it's a duplicate of the home page. We keep most of the link juice, and the browser is unaffected. Yes, a user might share that different URL now, but its unlikely.
We've been doing 302's up until now, now we're testing the third option. How do others solve this problem? Is there a problem with it?
Any advice appreciated.
-
You should 302 redirect non-authenticated users to http://twiends.com/login.
This is a better user experience, and you avoid the potential authentication issues with the 301. It's also not really correct or useful to make it a 301 redirect: users aren't being 'permanently' redirected to the login page, and there's not much utility in forcing link juice to be passed from /settings to /login either.
So requests to /settings should either show that user's settings or 302 redirect to /login. Don't duplicate the home page content and rely on a canonical tag. Your domain (and domain authority) are still going to benefit, and I just don't think there's enough of a case to sculpt the flow of link juice in this way. As Andreas has pointed out, the link juice isn't the most important consideration here; it's better to focus on user experience. Your homepage's ability to rank for any given term is unlikely to be affected by the decision to 'rel=canonical' all private pages to the home page.
-
He said I should use the canonical as what it's made for - he said I shouldn't use it as a redirect - I asked if I should/could use a canonical as redirect and he said: it could happen that google starts to think about it: is it a canonical? should it be a 301? Something like that, and he said I should use redirect Was a german Hangout in September/October.
He didn't say anything about link juice - I just thought it should be that way.
-
Hi Andreas, are you sure..? According to this article on Moz:
https://mza.bundledseo.com/learn/seo/canonicalization
"The rel=canonical tag passes the same amount of link juice (ranking power) as a 301 redirect"
Did John Mueller say that the tag does not pass link juice? Do you have a link to the hangout recording so that I can check it out..?
Thanks
-
A canonical is (guess it was John Mueller who said it) not give you any linkjuice.
He told me in a Webmaster Hangout to use Canonical only for that what it is made for (not for redirects in that hangout-case). Your idea isn't the perfect canonical example.I would simply redirect everybody (who is not logged in) to a login/sign page. That would be the best thing for the users (UX). You send them to the homepage, wich is not perfect for ux. I would ignore the linkjuice in that case.
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 the number of duplicate pages pointing to a rel='canonical ' primary?
We have a situation on twiends where a number of our 'dead' user pages have generated links for us over the years. Our options are to 404 them, 301 them to the home page, or just serve back the home page with a canonical tag. We've been 404'ing them for years, but i understand that we lose all the link juice from doing this. Correct me if I'm wrong? Our next plan would be to 301 them to the home page. Probably the best solution but our concern is if a user page is only temporarily down (under review, etc) it could be permanently removed from the index, or at least cached for a very long time. A final plan is to just serve back the home page on the old URL, with a canonical tag pointing to the home page URL. This is quick, retains most of the link juice, and allows the URL to become active again in future. The problem is that there could be 100,000's of these. Q1) Is it a problem to have 100,000 URLs pointing to a primary with a rel=canonical tag? (Problem for Google?) Q2) How long does it take a canonical duplicate page to become unique in the index again if the tag is removed? Will google recrawl it and add it back into the index? Do we need to use WMT to speed this process up? Thanks
On-Page Optimization | | dsumter0 -
Rel canonical tag on a single page site?
I have a wordpress theme site which essentially is all in 1 page. Do I need to use rel-canonical tag? It would just loop?
On-Page Optimization | | graftene0 -
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 -
Deleted pages still registering as 404 pages.
I have a an all html site that I can only work on through the ftp. The previous marketing company ran a script that built thousands of location landing pages, but all they did was change the tags and headers and the keywords in the pages, other than that they are all duplicate pages. I removed them, but Google is reading them as 404 pages. How do I tell Google those pages don't exist? or do I just need to let the bots crawl it a few times and it will see that eventually?
On-Page Optimization | | SwanJob0 -
Losing Page Rank after 301 redirect from http to www
Hi Guys I have site-wide redirected all http// to www and all the category pages lost their page ranks (except home page). I would like to know if this is normal and is it one of the possible causes in losing keyword ranking?
On-Page Optimization | | ilovebodykits0 -
Page Title - What is better?
Hi SEO Heads, I have another question if someone would be so kind in answering What page title of the 2 below is better for SEO (i) Chocolate Cake|Chocolate Cake Recipe|Xmas Cake or (ii) Chocolate Cake | Chocolate Cake Recipe | Xmas Cake As you can see (ii) Page Title has a space before and after the | (vertical bar) I know the second page title looks better to human eyes but on some pages I had to forego the space so i could fit my keywords in the page title. is this a good idea? Can anyone help me? Cheers Aidan
On-Page Optimization | | aidanlawlor0 -
View all Page for Product Overview Pages
Hi everybody! We have an ecommerce site with product overview pages, where sometimes there are hundreds of products listed. Usually, we just display 30 and have a button where users can click to see 30 more - or all products listed at once. This is the overview page (as indexed in google): http://www.geschenkidee.ch/aussergewoehnliches.html
On-Page Optimization | | zeepartner
And this is the view-all page: http://www.geschenkidee.ch/aussergewoehnliches.html#all What should I do here? The product overview page will hardly generate more traffic by listing all products (because the overview page will rank for generic keywords, while the product keyword searches will be referred to the specific product pages themselves). I was originally thinking of using rel=canonical pointing to the view-all page. But this would just lead to longer load time. Should we just leave those overview pages or is there a best practice for how to deal with such pages? Thanks for your thoughts on this!0 -
Page Rank Drop
Just trying to get more feedback - so we recently edited title and meta descriptions for existing website SEO and we've noticed in the past several weeks, our client's website has dropped out of the top 50 in a variety of terms we were targeting that they used to show up for (note: when updating SEO, we DID NOT remove any relevant terms we were targeting). When the website does come up in searches, it is the old meta description and title. So far, the feedback we've gotten is that first, it takes Google a few weeks to recrawl and index - however, we are now on week 3 after the changes and still no rebound in rankings. We were also told to check with the SEO Moz page grader to be sure the keywords were being optimized correctly - got As and Bs for the test terms I tried. We also submitted an XML site map to speed up the crawl process as another user suggested. We've tested the site with various tools to make sure there are redirect errors, etc. and everything looks fine. Again, it's now been 3+ weeks and no ranking rebound. Any other suggestions on what could be happening?
On-Page Optimization | | laidlawseo0