Yes I know I just bobbled from the brain .couldnt find any document.
so
thanks much.
BUT
why still SEO Toolkit searching for it and gives errors ?
I told him not to index it.go someother place.do not index.howver it searches still and gives (false?) Warnings
hcetiner
Member
579 Points
465 Posts
telling robots to noindex of an handler
Sep 01, 2011 01:52 PM|LINK
public void ProcessRequest(HttpContext context)
{
context.Response.AddHeader("robots", "Content = \"noindex\"");
is the way ? or how can I block search robots to no index handler ?
DarrellNorto...
All-Star
86645 Points
9629 Posts
Moderator
MVP
Re: telling robots to noindex of an handler
Sep 01, 2011 02:00 PM|LINK
There is no such "robots" HTTP Header. The header you want is "X-Robots-Tag"
HttpContext.Response.AppendHeader("X-Robots-Tag","noindex");Darrell Norton's Blog
Please click "Mark as Answer" if this helped you.
hcetiner
Member
579 Points
465 Posts
Re: telling robots to noindex of an handler
Sep 01, 2011 02:11 PM|LINK
Yes I know I just bobbled from the brain .couldnt find any document.
so
thanks much.
BUT
why still SEO Toolkit searching for it and gives errors ?
I told him not to index it.go someother place.do not index.howver it searches still and gives (false?) Warnings