Using noindex in the code isn't necessary since nofollow shoves the spider away. But just make sure you don't have any other pages pointing toward that page without a nofollow otherwise it will get indexed. And dpking is right, that code is correct.
correct with comma see original ref http://www.w3.org/TR/html401/appendix/notes.html keep in mind that such tags ONLY work with those SE obeying common rules - that means usually G, Y, MSN and a few others. it never is a guarantee to keep bots/SEs out.
If you are trying to keep some of your pages from being indexed, you can add this in the HTML head: <meta name="robots" content="noindex"> Edit: Sorry, just realized this thread is a year old.. got here from a search..
The Google spider does a few things when it sees a link on your page. One, it enters the page, to which you are linking, into its index. Two, it "follows" the link to run its algorithm on that page's content. Three, it assigns a value to the link and to the words in the anchor text of that link. The main reason for using "noindex, nofollow" is so you don't dilute the value of other links on your page. The more PageRank your page has, the more total value the page has to give to all the links on that page. The more links you have on that page, the less relative value each of them has.
If you would like to put rel="nofollow" then it is the right tag, No need put rel="noindex, nofollow" because no index is used to make no index in google search results..........there is no role of no index in any link. If you would like to no index any page then you should use................ < meta name="robots" content="no index, no follow" />
Is it possible to use rel="noindex, nofollow" with <span> or <div> Tags besides anchor <a> tag? If not, Is there any way to skip a specific section (<td>Code ot content in between table data tags </td>) of the webpage from bots?
you use like that < meta name="robots" content="no index, no follow" /> I have used its <meta name="robots" content="FOLLOW,INDEX">
This is what Matt Cutts, a google engineer, says about the noindex. I can't post the direct link yet but if you search in google like: site:mattcutts.com noindex It's the first link. He goes into detail about it. From my understanding noindex refers more to the meta tag (i.e. <meta>) rather than, say, an anchor tag (i.e. <a href>). The nofollow is more used in the anchor tag as the others have shown. This is my understanding of it.
It is best that you check your link(s) to be sure they are in fact "nofollow". You can do this with several browser add-ons, such as Quirk "SearchStatus", or "SEO4Firefox". From my testing, it seems you must have the space between the "noindex" and the "nofollow" or it won't work. The order of those two words also matters. So in effect, it MUST be the following (at least in the anchor element): < a href="..." rel="noindex, nofollow" >...< /a >
You use the <META NAME="ROBOTS" CONTENT="noindex, nofollow"> meta tag when you don't want google to index the page or pass pagerank to the links on the page. If you just use the noindex tag, google will not index the page but still flow pagerank to the links.