Deal with links that need login to view
-
Hi All,
Deal with links that need login to view
We have member names in the site in many places and when clicked it takes the user to the login page
As just logged in members can view the details
The redirection type is 302 and Moz Campaign says we have many and need to make them 301
What is the best way as we have a drupal website
Thanks
-
Exactly my point.
You show the "http://www.domain.com/login?return=the-actual-linked-page" to non-logged in users and bots. while you show "http://www.domain.com/the-actual-linked-page" to logged in users. By doing that you don't have any 3XX redirects.
-
When the user is logged in they wont see such links
Only when a non member clicks they go to the login page and Bots scan as non member only
When a user clicks and logs in and he is redirected to the page automatically he is intended to reach after login
-
I don't think that's an issue, and I certainly won't set them as 301 as those are permanently moved (which means that the browser may not fetch the page again but instead send them to the login page even if they are logged in). 302s in that case are fine.
However, you can consider another approach such as: http://www.domain.com/login?return=the-actual-linked-page (for not logged in users). That way you will avoid any 3XX while only show the definitive link to the logged in user.
Hope that helps!
-
You need to nofollow noindex all those links. Your user login sections are private and will not be ranked anyway, dont need the spiders getting in there.
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 for multiple links
I just relaunched my website and changed a permalink structure for several pages where only a subdirectory name changed. What 301 Redirect code do I use to redirect the following? I have dozens of these where I need to change just the directory name from "urban-living" to "urban", and want it to catch the following all in one redirect command. Here is an example of the structure that needs to change. Old
Technical SEO | | shawnbeaird
domain.com/urban-living (single page w/ content)
domain.com/urban-living/tempe (single page w/ content)
domain.com/urban-living/tempe/the-vale (single page w/ content) New
domain.com/urban
domain.com/urban/tempe
domain.com/urban/tempe/the-vale0 -
301 and 302 for same link
Just trying to find out if this may be the root of a slight traffic dip and also if we should be redirecting differently. We relaunched and did 301 redirects to the new site, initially. Then, we decided to change from http to https. Our HTTP status now looks like this when using the MozBar: HTTP/1.1 301 Moved Permanently – http://site.com/oldurl
Technical SEO | | MichaelEka
HTTP/1.1 302 Found – https://site.com/oldurl
HTTP/1.1 200 OK - https://site.com/new Should we be changing that 302 to a 301? Are we losing link equity due to this? Thanks.0 -
Paid Links - How does Google classify them?
Greetings All, I have a question regarding "Paid Links." My company creates custom websites for other small businesses across the country. We always have backlinks to our primary website from our "Dealer Sites." Would Google and other search engines consider links from our "dealer sites" to be "paid links?" Example:
Technical SEO | | CFSSEO
http://www.atlanticautoinc.com/ is the "dealer site." Would Google consider the links from Atlantic Auto to be a "paid link," and therefor have less of an impact for page rankings, due to it not being organic? Any insight on this matter would be greatly appreciated. Thank you!!!0 -
OUTGOING LINK ISSUES
NO LINK TO HOME MY WEBSIDE PROFITIOK.COM FOR EXAMPLE YOU SEE THE PAGE I HAVE CHANGE TWO DAYS BACK PREVIOUS
Technical SEO | | Luckykhullar
ABOUT US - Profitok.com 2 DAYS BACK I CHANGED THE TITLE title>Commodity tips | Mcx TIPS | Mcx Daily Tips |Mcx Good tips Provider BUT WHEN I CHECKING IT IS NOT UPDATED THIS TITLE DEAR SIR CAN Y GIVE ME THE CORRECT ANSWER0 -
Remove Links or 301
Howdy Guys, Our main site has been hit pretty hard by penguin and we are just wondering what steps we should now take. For the past 2 months we have been working through our back link profile removing spammy / un-natural links, we have documented everything in a spreadsheet... We recently submitted a reconsideration request to Google and they have now responded saying we still have bad links. I'm just wondering would be it easier just to 301 redirect our site to another TLD we have for our main site? Or Do we keep working through our links 1 by 1 and removing them? Has anyone had any success in 301ing? Thanks, Scott
Technical SEO | | ScottBaxterWW0 -
How do you find bad links to your site?
My website has around 900 incoming links and I have a Google 50 penalty that is sitewide. I have been doing research and from what I can see is that the 50 penalty is usually associated with scetchy links. The penalty started last year. I had about 40 related domains to my main site and each had a simple one page site with a link to the main site. (I know I screwed up) I cleaned up all of those links by removing them. The single page site still exist, but they have no links and several of them still rank very well. I also had an outside SEO person that bought a few links. I came clean with Google and told them everything. I gave them all of my sites and that the SEO person had bought links. I gave them full disclosure and removed everything. I have one site that I can't get the link removed from. I have contacted them numerous times to remove the link and I get no response. I am curious if anyone has had a simular experience and how they corrected the situation. Another issue is that my site is "thin" because its an ecommerce affiliate site and full of affiliate links. I work in the costume market. I'm also afraid that I have other bad links pointing to my site. Dooes anyone know of a tool to identify bad links that Google may be penalizing me for at this time. Here is Google's latest denial of my reconsideration request. Dear site owner or webmaster of XXXXXXXXX.com. We received a request from a site owner to reconsider XXXXXXXX.com for compliance with Google's Webmaster Guidelines. We've reviewed your site and we believe that some or all of your pages still violate our quality guidelines. In order to preserve the quality of our search engine, pages from XXXXXXXXXX.com may not appear or may not rank as highly in Google's search results, or may otherwise be considered to be less trustworthy than sites which follow the quality guidelines. If you wish to be reconsidered again, please correct or remove all pages that are outside our quality guidelines. When such changes have been made, please visit https://www.google.com/webmasters/tools/reconsideration?hl=en and resubmit your site for reconsideration. If you have additional questions about how to resolve this issue, please see our Webmaster Help Forum for support. Sincerely, Google Search Quality
Technical SEO | | tadden0 -
Link Juice flow control
Hi, I'm really interested in a good explanation of how to control the flow of link juice. Most of my inbound links currently go to my home page, and I was just wondering how to maximise the link juice flow to those pages that I want ranking. Is there any benefit to nofollowing pages in my navigation that I don't need to rank? As above, but with links in my footer, such as privacy policy and the like (can i not waste link juice on these pages?) Does more link juice flow to pages higher up in my code? These are just some of the questions I'm concerned with. Basically, I'd really like to know the best-practices for sending link juice to where it is needed most. Thanks, Matt - No Yelling Driving School
Technical SEO | | strilliams0 -
Amazon s3 links
Hello, Dose anyone has experience with Amazon s3 ? Hosting images, site elements and static files (pdf etc) on Amazon S3 bucket can influence the link structure / juice ? (by having external links to the amazon s3 bucket / account). If you host all the site images and site resources with Amazon S3 will all those "links" count as outgoing external links ? Is it worst then having everything linking internally ? Dose anyone knows if that can hurt you ? Personally I was not able to test it and I am sure I can't test it in the near future. Hope someone has and I can skip some steps with this. Thanks !
Technical SEO | | eyepaq1