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
-
Rel Conical - Mobile page
I have two pages that have essentially the same content, same page title etc. however one is the mobile version of the other. Is it appropriate to use the rel canonical tag with these two pages? So the pages are: www.example.com/product www.example.com/mobile/product If rel canonical is not appropriate what, if anything should I do?
On-Page Optimization | | cbarron0 -
Rel="canonical" at the same page
Hello Everyone!! We have a Joomla Site and in the template we have a php function that create the **link rel="canonical" **and in the href inserts the same page url. For example, if the we do a search and the url have some cookies. That Url is gonna be the **rel="canonical" **for that page. Is it working correctly? We need an advice to to set it up correctly! Thanks!
On-Page Optimization | | mycostaricalink0 -
Is this canonical issue?
WP site has automated canonical on domain.com/ by Yoast plugin but there is URL (/?page=kontaktine-forma) where same domaim.com/ canonical tag was put on. I made 301 redirect to main page. Is this a good practice?
On-Page Optimization | | OVJ0 -
"Issue: Duplicate Page Content " in Crawl Diagnostics - but these pages are noindex
Saw an issue back in 2011 about this and I'm experiencing the same issue. http://moz.com/community/q/issue-duplicate-page-content-in-crawl-diagnostics-but-these-pages-are-noindex We have pages that are meta-tagged as no-everything for bots but are being reported as duplicate. Any suggestions on how to exclude them from the Moz bot?
On-Page Optimization | | Deb_VHB0 -
How much SEO value does a fashion site get from bolting text onto the bottom of home page? Does the value compensate for cluttering up a page focused on an iconic image?
Getting ready to launch a completely redesigned site for a fashion designer. Since it is a fashion site, visitors do not need text to describe what the site is about., We are weighing three options: 1) clean design with no text (just images and navigational links), 2) bolting on a couple of sentences of text at the bottom of the page to signal keyword terms to the search engines, 3) following the lead of the top ranking site in the category and adding lots of text to the bottom of the page. Do the SEO benefits justify cluttering up the design by bolting text onto the bottom of the home page, and if so, how many characters of text seem to be the minimum to be effective?
On-Page Optimization | | RandyP0 -
Does Too Many On-Page Links on a Page Really Matters?
Does Too Many On-Page Links on a Page Really Matters? Especially if they are pointing to internal page?
On-Page Optimization | | AppleCapitalGroup1 -
Google is indexing spam pages from my site. What is the most effective way to get ride of the search results? Pages are deleted now but should I do something more?
A long time ago I created a forum (Invision Power Board) and it got full of spam. Massive amounts! /forum/ I've now deleted the forum but the spam pages are still indexed on Google. Can I do something else to hurry up the process to get ride of them?
On-Page Optimization | | ocarlsson0 -
Almost all pages showing under Notices Rel Canonical - why???
Hi, I'm just going through my latest crawl since my new site launch and havce noticed almost all of my websites pages are listed under the notices rel canonical section, Why is this? All pages have the unique pages titles followed by the site name in the title, for example: Product | Site name All pages have unique meta descriptions and content (although we only offer lots of differt varients of the same product). Is this something I should be worried about?
On-Page Optimization | | EclipseLegal0