|Home | Web Design Tutorials | Free Graphics | Newsletter | Products | Specials | SEO | Sound Effects | Member Perks | Member Login|
HTML Help: Prevent Image Indexing
Is there a way to stop image search engines from indexing images?You can stop most of them by including a directive in a robots.txt file. A robots.txt file is a simple text file that provides instructions to search engine robots, or spiders, that most engines will honor.
To create a robots.txt file, open a text editor such as Notepad and on a new, blank page, and copy and paste the following code:
# Robots.txt for BoogieJack.com # disallow the images directories User-agent: * Disallow: /images/ #disallow specific file types User-agent: * Disallow: /*.gif$ User-agent: * Disallow: /*.jpg$ User-agent: * Disallow: /*.png$Then save it as robots.txt and upload it to your ROOT directory. The root directory is where you store your index page on your host's server. Here's what each line means in the above code:
<meta name="robots" content="noimageindex">That tells the search engines robots not to index any images on that page. This can keep your images out of a few places that have robots that do not follow the robots.txt exclusion.
If your images are already included in the search engine databases when you upload the robots.txt file, they won't be removed until the next time the image robot crawls your site. That can take 90 days or more.
This concludes the
HTML Help about Preventing Image Indexing.
Check out SEO for YOU now!
Almost a NewsletterSubscribe today for exclusive website design tutorials and grab some free gifts to boot! Learn more, or subcribe below:
Did you know...The member's site has about 100 standards compliant HTML and CSS tutorials, 31 handy reference charts, reprintable content, web graphics, exclusive fonts, free software, free ebooks and more? All this for less than 9 cents a day! [ Details ]
Home | Web Design Tutorials | Free Graphics | Newsletter | Products | Specials | SEO | Sound Effects