Meta Tags
Posted by Administrator on March 10, 2009 · 1 Comment
->
The code for a basic meta tag:
<meta name="" content="">
or
<meta http-equiv="" content="">
Meta tags are in your head section of your html document. The meta tags help the spiders index your page. You can redirect a webpage with a meta tag, control spiders, prevent certain browsers to function differently with a code and even set your page’s language with it.
Here is a list of interesting meta tags you can observe and use:
Description Meta tag:
<meta name=”description” content=”put your page description here” />
This is what appears in the search engines as your description, usually right under your page title when listed in search results.
Keywords Meta tag:
<meta name=”keywords” content=”put your keywords here” />
This code will help you get listed under correct search results. You should write keywords that best fits your website. You should also spererate your keywords with a comma. You can use the below example as a resource.
<meta name=”keywords” content=”how to create a free website, get a free website, what is a keyword” />
Redirection code:
<meta http-equiv="refresh" content="2 ; url=anotherpage.html">
The above code is set to refresh the page and redirect it to anotherpage.html in 2 seconds. You can change these fields according to your needs.
Cache Prevention code:
<meta http-equiv="pragma" content="no-cache">
This code is useful when you update your pages a lot and you don’t want someone loading a page that has been cached on their system. It is supposed to keep a browser from caching your page. Some browsers will ignore the code and cache anyway.
Code to allow Index Follow for Search Engines (Google,Live ect.) :
<meta name="robots" content="index,follow">
This code will basically tell the robots to index whatever they find on your website.
Filed under Our Blog · Tagged with Cache prevention code, How to add a website description, how to allow robots to cache my web page, How to allow robots to index my page, How to allow search engines to list my web page, How to fix a language problem on a website, How to use meta tags, Html Redirection code, Keywords Meta tag kode, Redirection code
