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
-
Keyword Appearing on Home Page - Moz Page Grader
Hi Today I entered www.partydomain.co.uk through the Moz Page Grader and found that the Home Page is Ranked B. I noticed that an Area we could improve on is the amount of times we are using our main keyword "Fancy Dress" on the home page. Please can you take a look at www.partydomain.co.uk and scroll to the bottom of the page were the tabs are containing losts of content. I am thinking about removing all of thoose Tabs. Our Competitors dont have any content as such on the home page and are ranking higher than Party Domain for "fancy dress" What do you think ? remove all the tabs to be like the others that rank better? Or cut the text right down ? Thanks Adam
On-Page Optimization | | AMG1000 -
To redirect or not to redirect...That is the question
We have old product data that is being updated (approx 30k sku's). Most of the old pages have been indexed and drive the majority of our online sales. But, the updated products have different titles, H1's, etc and have been re-formatted for the better in terms of usability. So, should we redirect thousands of pages to the new pages? Will Google be ok with that?...or should we reformat the current url's with the new data? And, if we reformat current url's with new data...the fear is that the on-page elements that the pages are being pick up for will get wiped out, (be it the H1 in some cases or the title or alt tag for another, etc) because it's simply too much to retain them during the import. Please share
On-Page Optimization | | nisvision0 -
Www no longer redirects
Hi there, A while back I dropped the www from my domain. Everything redirected ok and I could still access my site using www and it would simply redirect to http://mysite This no longer seems to be occurring. I don't think I have changed anything? I don't believe I had anything in my htaccess however I am looking for some assistance in doing so. I've done a bit of reading but am not 100% confident! If anyone is interested, the url is http://cdkeyprices.com Thanks
On-Page Optimization | | MrPenguin0 -
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 -
Sold Products appear as duplicate pages 'Page Not Found' ???
Hi there, I'm down to just 6 duplicate page warnings but I'm not sure how to deal with this one: Information Page Not Found! http://www.vintageheirloom.com/index.php?route=information/information&information_id=6 My Ecommerce shopping site products are unique, 1 of a kind. So once one product has sold and been delivered we take the product off our website, hence the Information Page Not Found! As I understand when search engines re-index these warnings will drop off but new sold products would replace them. So redirecting seems like hard work and never ending. Is it ok to ignore these warnings? Thanks Mozzers..
On-Page Optimization | | well-its-1-louder0 -
Redoing a site - 404 redirect or 301 redirect
I'm redoing a website, should i 404 the old pages, or 301 redirect to the main page? what is better? (around 100 pages)
On-Page Optimization | | mkmedia0 -
Page title changes based on results per page
I have a product listing that allows customers to set a results per page option. This ads a GET variable to the URL. I've added the page number to the title of this page if they go past the first page. If this results per page variable is added to the URL then google see it as a different page. Do I need to change the page title for this?
On-Page Optimization | | BedInABox.com0 -
Spammy keywords on a page
My client's website has a box of text on each page that is spammy and horrible to read and stuffed with keywords. The text boxes are there only for search engines as they mean nothing to humans. I say remove them as it must be doing more harm than good. However, my client is scared to remove them as the text has been there on each page for ten years and he is worried about a drop in visitor numbers if they are removed. Is he right to be worried?
On-Page Optimization | | mascotmike0