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
-
Assessing Link Profiles
Hi Guys, When doing a link cleanup, it can be sometimes hard to tell, how a link got there (i.e is it natural or not). Apart from spammy directories, blog comments and forum profiles, some link exchanges could have been done naturally with just very good outreach. If you were looking at this one:- http://5startemplates.com/communications_links(4).html Would you say remove if I know they have definitely taken part in link exchanges (their link profile seems to suggest they have) or just change it to a brand/url. This sites rankings have been tanking due to duplicate content and possibly (although not definitely) a penguin update too. Any advice would be great! Kind Regards Neil
Technical SEO | | nezona0 -
Links in a Flash document
How do I tell if a link in a Flash document is follow or nofollow? Or doesn't it matter? (I just found out that my company placed an advertorial in a Flash publication and I want to make sure it doesn't wind up as a paid, followed link.) Thank you!
Technical SEO | | Linda-Vassily0 -
Internal Link Analysis Tool
I want to get a better handle on what internal link text (and co-occurance if possible) my site currently has. We have a lot of old blog articles that provide link juice back to the main site, but with thousands of pages, we never kept track of when we internally link to a page. Are there any tools that will provide an analysis of this? OpenSiteExplorer seems like a very tedious way to do it and it didn't appear to be 100% accurate. Also, are there any tools that will provide analysis and recommendations based on keywords targeted?
Technical SEO | | TheDude0 -
What is link Schemes?
Hello Friends, Today I am reading about link schemes on http://support.google.com/webmasters/bin/answer.py?hl=en&answer=66356 there are a several ways how to avoid Google penalties and also talk about the low quality links. But I can't understand about "Low-quality directory or bookmark site links" Is there he talked about low page rank, Alexa or something else?
Technical SEO | | KLLC0 -
International Site Links In Footer
We have several international sites and we have them linked in the footer of our main .com site . Should we add "nofollow" to these links? Our concern is that Google could see these sites as a network?
Technical SEO | | EwanFisher0 -
Do I need an XML sitemap?
I have an established website that ranks well in Google. However, I have just noticed that no xml sitemap has been registered in Google webmaster tools, so the likelihood is that it hasn't been registered with the other search engines. However, there is an html sitemap listed on the website. Seeing as the website is already ranking well, do I still need to generate and submit an XML sitemap? Could there be any detriment to current rankings in doing so?
Technical SEO | | pugh0 -
Track outbound links
I would like to track outbound links at http://bit.ly/yYHmbf 1. Shall i add the following code before at the above page What does 100 means in above code ? 2. Then use this for each outgoing link ``` [onClick="recordOutboundLink(this, 'Outbound Links', 'example.com');return false;">](http://www.example.com) ``` [](http://www.example.com) ```[``` http://www.example.com is the outbound link Am i right on both counts ? where should i look for report in GA ? ```](http://www.example.com)
Technical SEO | | seoug_20050 -
How not to lose link juice when linking to thousands of PDF guides?
Hi All, I run an e-commerce website with thousands of products.
Technical SEO | | BeytzNet
In each product page I have a link to a PDF guide of that product. Currently we link to it with a "nofollow" <a href="">tag.</a> <a href="">Should we change it to window.open in order not to lose link juice? Thanks</a>0