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
-
Ranking more than one page.
Our travel website has a number of different places listed. The layout of each place is the same as the next. On place ranks on page 1 for its keywords where as others do not. Is there a tool of some description that may identify why this is.
On-Page Optimization | | twiguins0 -
Duplicate Page content | What to do?
Hello Guys, I have some duplicate pages detected by MOZ. Most of the URL´s are from a registracion process for users, so the URL´s are all like this: www.exemple.com/user/login?destination=node/125%23comment-form What should I do? Add this to robot txt? If so how? Whats the command to add in Google Webmaster? Thanks in advance! Pedro Pereira
On-Page Optimization | | Kalitenko20140 -
Can you canonical from one domain page to a different domain page
We are a boating site and have our main site with all it's products. We have an engine section within our main site. But we also have an outside domain, specific to a certain manufacturer of engines. So we want our customers to still find the engine information for this manufacturer within our main site, as well as find the manufacturer targeted engine site in the SERPS. My question is this: Can I canonical those pages within our main site to pages on the outside domain? Or does are canonicals to be used only within the same domain? Thanks,
On-Page Optimization | | tdawson090 -
Keywords per Page
Iv'e looked through the QA here and there are a lot of different conflicting opinions on what is a generally a good idea. For Example Florist Clearwater Clearwater Florist Florist in Clearwater Florist in Clearwater FL Clearwater FL Florist Clearwater Florida Florist Florist in Clearwater Florida Florist near Clearwater FL etc.... So for something like this example....should I have one page represent all of these keyword iterations or split them among different pages?
On-Page Optimization | | BenGMKT0 -
Locating Duplicate Pages
Hi, Our website consists of approximately 15,000 pages however according to our Google Webmaster Tools account Google has around 26,000 pages for us in their index. I have run through half a dozen sitemap generators and they all only discover the 15,000 pages that we know about. I have also thoroughly gone through the site to attempt to find any sections where we might be inadvertently generating duplicate pages without success. It has been over six months since we did any structural changes (at which point we did 301's to the new locations) and so I'd like to think that the majority of these old pages have been removed from the Google Index. Additionally, the number of pages in the index doesn't appear to be going down by any discernable factor week on week. I'm certain it's nothing to worry about however for my own peace of mind I'd like to just confirm that the additional 11,000 pages are just old results that will eventually disappear from the index and that we're not generating any duplicate content. Unfortunately there doesn't appear to be a way to download a list of the 26,000 pages that Google has indexed so that I can compare it against our sitemap. Obviously I know about site:domain.com however this only returned the first 1,000 results which all checkout fine. I was wondering if anybody knew of any methods or tools that we could use to attempt to identify these 11,000 extra pages in the Google index so we can confirm that they're just old pages which haven’t fallen out of the index yet and that they’re not going to be causing us a problem? Thanks guys!
On-Page Optimization | | ChrisHolgate0 -
Duplicate page titles
We have search results pages on our site. They share the same page title, there is no real differentiator between the result pages, other than page 1, page 2 etc. How do we de-dup the titles? just add page 1/2/3 etc to the end of them?
On-Page Optimization | | lilibooz0 -
URL for location pages
Hello all We would like to create clean, easy URLs for our large list of Location pages. If there are a few URLs for each of the pages, am I right when I'm saying we would like this to be the canonical? Right now we would like the URL to be: For example
On-Page Optimization | | Ferguson
Domain.com/locations/Columbus I have found some instances where there might be 2,3 or more locations in the same city,zip. My conclusion for these would be: adding their Branch id's on to the URL
Domain.com/locations/Columbus/0304 Is this an okay approach? We are unsure if the URL should have city,State,zip for SEO purposes?
The pages will have all of this info in it's content
BUT what would be best for SEO and ranking for a given location? Thank you for any info!0 -
How do you fix on page SEO ?
I have been trying to push my foundation website in organic search results for competitive keywords , i have been not been so consistent in raking our website in top search results of Google. can some one recommend the guidelines and activities which can really push my websites to Google first page. More Info: about our foundation We are the worlds largest school meal run ngo in the world feeding over 1.3 million school children in India Wesite url www.akshayapatra.org
On-Page Optimization | | AkshayaPatra0