Does anyone know how to employ htaccess or some other method to block images indexing of CERTAIN directories on your server?
I have some portfolio images in directories that I do not want google/yahoo to be indexing in their image results (as they do my photoblog images0, but I can't quite find out how to block things that way.
> Does anyone know how to employ htaccess or some other method to block images > indexing of CERTAIN directories on your server?
> I have some portfolio images in directories that I do not want google/yahoo > to be indexing in their image results (as they do my photoblog images0, but > I can't quite find out how to block things that way.
On 3/19/07, Tanja-Tiziana Burdi <tanja.tizi...@gmail.com> wrote:
> Hey all,
> Does anyone know how to employ htaccess or some other method to block images > indexing of CERTAIN directories on your server?
> I have some portfolio images in directories that I do not want google/yahoo > to be indexing in their image results (as they do my photoblog images0, but > I can't quite find out how to block things that way.
You can block the googlebot-images robot in robots.txt. I banned it outright, but you can also specify what folders you don't want indexed:
In my experience this takes a very long time to come into effect and I was still getting hits from the country google sites (google.ca, google.co.uk, etc.) even when I dropped off images.google.com
I've also blocked google images in my .htaccess with the following:
Now that I look at it, with the middle rewrite condition the other two might be redundant. The last line means access forbidden... I tried to make it redirect in a more friendly way but that just confused my server.
> On 3/19/07, Tanja-Tiziana Burdi <tanja.tizi...@gmail.com> wrote: > > Hey all,
> > Does anyone know how to employ htaccess or some other method to block images > > indexing of CERTAIN directories on your server?
> > I have some portfolio images in directories that I do not want google/yahoo > > to be indexing in their image results (as they do my photoblog images0, but > > I can't quite find out how to block things that way.
> You can block the googlebot-images robot in robots.txt. I banned it > outright, but you can also specify what folders you don't want > indexed:
> In my experience this takes a very long time to come into effect and I > was still getting hits from the country google sites (google.ca, > google.co.uk, etc.) even when I dropped off images.google.com
> I've also blocked google images in my .htaccess with the following:
> Now that I look at it, with the middle rewrite condition the other > two might be redundant. The last line means access forbidden... I > tried to make it redirect in a more friendly way but that just > confused my server.
Hi Tanja, You have to make a robots.txt file in a notepad and define, in it, which directories you want to keep away from robots. upload robots.txt to your root of the server. for more info http://www.google.com/webmasters.
> Does anyone know how to employ htaccess or some other method to block > images indexing of CERTAIN directories on your server?
> I have some portfolio images in directories that I do not want > google/yahoo to be indexing in their image results (as they do my photoblog > images0, but I can't quite find out how to block things that way.