<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

could I put this after or before
<head></head>
in order to prevent google, yahoo, bing indexing of page

I can not put this in the head because I am using a include header file
and do not want to block all files
LVL 1
rgb192Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
No.  The <head></head> is the only correct place to put that.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
4umCommented:
You can put that html code after <head> tag  (before </head> tag)
 like,   <head> <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> </head>
0
helpchrisplzCommented:
the answer will depend on your CMS. If you run concrete5 each page has its own "Header Extra Content" its basically a box you can past code into to only effect the single page.

however if your still on wordpress you can follow this tut: http://www.wprecipes.com/how-to-use-multiple-custom-headers-on-a-wordpress-theme
0
Ray PaseurCommented:
The meta tag goes in the head.  Anywhere else fails validation.

If you truly do not want data to be indexed, do not put it online.  If you don't really care much one way or the other, you can put data online but without any anchor tags that link to it.   For example, you could put a document online and email a link to a friend so they can see it.  The document will not be discovered by the search engines, until your friend posts the link on Facebook, and then all the world will see.  If you want the data to be found, create a wikipedia article that incorporates it by reference.
0
rgb192Author Commented:
Ok correct answer by 4 experts is must be in the head.

Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Search Engine Optimization (SEO)

From novice to tech pro — start learning today.