Login Page Redirection
-
Hello,
I have certain pages on my site which are login only. Am wondering if a user reaches that page, should I send him to a 301 redirect to a new login page? or some other form of redirection?
Any suggestions on how to best tackle this situation?
Update
If I redirect to a login.php page, then what kind of redirection should I use?
Thank you for your time,
Anant
-
Follow/nofollow tells Google whether to follow the links on that page, regardless of whether it should index it.
Follow is usually safer, because even if it doesn't add the page to Google's index it at least alows Google to follow the links and pass some PageRank around. If a login form is all there is, nofollow would be no problem either, but it can never hurt to have Google follow the links to other sections of your website.
The only time I use nofollow in combination with noindex if it's a page that links out a lot (like the almost obligatory 'Friends' or similar linking pages). Those pages I don't want to index AND don't want to pass pagerank through. Anything else: just follow.
-
Why "follow"? Why not "nofollow"?
-
Stephan - Edit's been broken for a while - apparently a bug report was sent off to the SEOMoz dev team last week
Anant - Stephan's answer below is correct... I should've included that in my original answer but Monday morning laziness took over! One thing to remember - make sure you only add it to pages that require a login as you'll end up de-indexing a load of pages if you mess it up.
-Matt
-
Hmm, I meant to post my reply here instead as an answer but I can't seem to edit it anymore. Anyway, yes it's an HTML meta tag. See my other post.
-
It's an HTML tag and should be placed in your
-
How do I add a noindex, follow code? Is it a HTML tag? should it be follow or nofollow?
-
I'm guessing that you currently load the login form if the user isn't logged in onto the page without redirecting? If so, that's perfectly fine... all I'd do is add a 'noindex, follow' meta robots tag to those pages.
Others might think differently though - would be interested to hear if there're any benefits in redirecting to a central login page...
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 many pages should we optimise?
I have more than 250 pages on my site including my products. Is it a good idea to optimise each page with a unique keyword or is there a limit to the number of pages we should aim for?
On-Page Optimization | | Timberwink0 -
Category pages, should I noindex them?
Hi there, I have a question about my blog that I hope you guys can answer. Should I no index the category and tag pages of my blog? I understand they are considered as duplicate content, but what if I try to work the keyword of that category? What would you do? I am looking forward to reading your answers 🙂
On-Page Optimization | | lucywrites0 -
Should old pages that have being 301 redirected but have no/mimimal traffic be deleted?
In other words, I have pages from years ago that are redirected but how can I tell if traffic still flows through them? And if there is no or minimal traffic should the 301 be deleted? Linck
On-Page Optimization | | LinckB0 -
How should i optimize this page
Hi, i am having major problems in optimizing this page as it is a magazine site. On normal sites i have no problem in optimizing the page to get the correct keywords to come up in the search engines but since the upgrade and also because it is a magazine site, i am having problems on how i should do this. my site is www.in2town.co.uk and i am trying to optimize the page for the following keywords lifestyle magazine online magazine lifestyle news Life and Style articles healthy lifestyle i am trying to make sure that google knows what the magazine is about, as i know have dropped down the rankings since the upgrade and for lifestyle magazine we were number one in google for such a long time but now we are on page 9 and this is our home page. we are seeing sites that have hardly any content ranking above us for this keyword i have a small intro which i have just put in the past few days at the top and we have a welcome in the middle which is here. Welcome to In2town Lifestyle Magazine Our Lifestyle Magazine is a fresh, innovative and vibrant online magazine offering you the best in health,fitness and life & style features, as well as modern lifestyle, beauty, fashion, personal finance and entertainment. Over the years In2town Lifestyle Magazine has established a reputation for quality articles and informed lifestyle and health features thanks to our experienced team of editorial professionals. By reading our online Lifestyle Magazine, you will be able to enjoy the interesting mix of entertainment features, health and lifestyle news as well as finding out what is happening in the celebrity world. We are always happy to hear from our readers, if you have lifestyle news or a story that you feel our readers would be interested in then please do contact us. xxxxxxxx but i would like to get rid of that section as i am going to put the latest articles there. any advice on how to sort this mess out would be great
On-Page Optimization | | ClaireH-1848860 -
Pages exclusion
Hi there! I don't want to "make relevan"t 3 of the pages my website has. Should I give them a title and a description even if I dont't want them to be shown in the SERPs? Is there any penalty from google if I don't do so? I guess no but just to confirm. Thanks!
On-Page Optimization | | juanmiguelcr0 -
What is on page links?
Hi - i would like to know exactly what an on page link is? i understand the linking system however cant work what exactly what an on page link is? Thanks
On-Page Optimization | | OasisLandDevelopment0 -
Duplicate page
Just getting started and had a question regarding one of the reports. It is telling me that I have duplicate pages but I'm not sure how to resolve that.
On-Page Optimization | | KeylimeSocial0 -
Should H1s be used in the logo? If they are and it is dynamic on each page to relate to the page content, is this detrimental to the site rather than having it in the page content?
On some sites, the H1 is contained within the logo and remains consistent throughout the site (i.e. the company name is in the of the logo). If the h1 in a logo is dynamic for each page (i.e. on the homepage it is company name - homepage) is this better or worse to have it changed out on the logo rather than having it in the page content?
On-Page Optimization | | CabbageTree0