|
|
Meta Tags - To Stop Spiders | ||
Discussion by jcguy with 17 Replies.
Last Update: January 13, 2008, 8:44 pm | |||
![]() |
|
|
By default, every single page in your site will be indexed by search engine spiders. To control this default action, just use meta tags!
How? Your meta tags must be located in the HTML codes of your pages, in the header between the <head> and </head> tags.
So if you want spiders to index your page and follow every link on it, insert:
<meta name="robots" content="index, follow">
For no indexing but following of links, use:
<meta name="robots" content="noindex, follow">
So more combinations are possible, example:
<meta name="robots" content="index, nofollow">
and:
<meta name="robots" content="noindex, nofollow">
Let's say you don't want your pages to be indexed but want spiders to follow links on it, your HTML should starts like this:
<html>
<head>
<title>Page title</title>
<meta name="robots" content="noindex, follow">
</head>
<body>body contents</body>
</html>
That's it! Spiders will always check for such meta tags before deciding waht to do with your pages.
Hope this helps
This topic seems very familiar to me, were you at Inuration Technologys at all? cos this and that UNI.CC tutorial are familiar to me?
CODE
<meta name="robots" content="noindex, nofollow" />If having web compliant HTML or XHTML is important to you, also make sure you declare a DOCTYPE in the <html> tag.
user-agent: * Disallow: /*
- this means that all spiders that are reading this file should not visit or index anything at all.
with this file, you can also actually specify which directories and files you do not want the spiders to index, e.g.
user-agent: * Disallow: /index.html
Disallow: /animals/*
Disallow: /objects/toaster.html
QUOTE (overture)
Does anyone know if there is a way to stop leeches from attaching themselves to files and stealing the bandwidth? could it be done with a specific meta tag or is something else required?i assume you're talking about images. here's what you can do -
1. create a separate folder and put all your images (or the images you wish to protect) in it.
2. create a text file called ".htaccess" in the above folder.
3. the text file should contain these lines -
SetEnvIfNoCase Referer "^http://www.blah.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.blah.com$" locally_linked=1
SetEnvIfNoCase Referer "^http://blah.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://blah.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
<FilesMatch "\.(gif|jpe?g)$">
Order Allow,Deny
Allow from env=locally_linked
</FilesMatch>
- and replace blah.com with your domain name.
4. now when someone tries to steal bandwidth by linking to your image from their site, the image will not be displayed.
if there are other files that you want to protect e.g. zip files, just put them in that special folder and add the zip extension to the FilesMatch line -
<FilesMatch "\.(gif|jpe?g|zip)$">
- that's it!
hope this helps :)
edit:
would i have to change the extension types, like you have put gif|jpe?g
QUOTE (KyoNiwa)
What are spiders and leaches? Are spiders or leaches bad? If so what do they do?????Spiders are actually robots that crawl the web constantly by following links on a webpage to other pages. Because the web is made up of billions of web pages linked together, it is possible for the spiders to crawl the entire content of the web. That's how Google, with its spiders, can build a database for you to search.
As for leaches, I'm not very sure, but it sounds very scary
Leeches are also automated robots or programs that search websites for files and mass-download them, eating up bandwidth. Leeches are also programs used by people on P2P networks to download files from a specific network without letting others access file from the leech....
Meta Tags
If you want to use google to find pages like this, type this in the search box
"robots.Txt" disallow:" filetype:txt
-ladyzfirst
Similar Topics:
What Are Meta Tags And What Do They...
Html Meta Tags Tutorial
All On Meta Tag The Mistry
(13) Converting HTML over to XHTML Crossing over to the darkside
|
HOME 





Spider Language: Important META Tags
How To Use Meta Tags For Best SEO Optimization
HTML Tutorial 09 - Head Title and Meta Tags
Guide : What are Meta Tags? How Can They Help My SEO? Online seo tools on bulkping for Site Seo
Hunter Wars 2- Super Weapons meta tag mod (Halo Custom Edition)
What are Meta Tags? How Can They Help My SEO?

