Home
Home Page
Krossbrauzernoe alignment on the center (table height=100 %)
Lists a la MS Word
Features of links « upwards pages »
Tables and borders
We get rid from cellpadding and cellspacing
Optimum use MySQL
Competent job with files: exclusive blocking of files
How to learn{find out} the size of a file on any web - server
Regular expressions
Processing of lines in RNR
Creation of system of the account of visitings
Tracking a content on dynamic sites
CSS: advice{councils} and receptions, a part 2
CSS: advice{councils} and receptions, a part 1
Ten rules of a spelling of a safe code on PHP
About tags and metatags
Potential vulnerability of php-scripts
Removal{Distance} of a line from a file
The generator of passwords
Links
 

About tags and metatags


Everything stated to me, is a fruit more than 3-years experience in the field of optimization of sites and practical supervision. Thus, my recommendations will have in the greater degree subjective practical character, than theoretical. At once I warn, that all my advice{councils} are actual for owners of serious thematic resources, instead of any foolish entertaining portals, which purpose - to involve aby whom only to earn banner shows or to wind the counter.


So, I open a series of clauses{articles} devoted to promotion of an Internet - site in a network. Everything stated to me, is a fruit more than 3-years experience in the field of optimization of sites and practical supervision. Thus, my recommendations will have in the greater degree subjective practical character, than theoretical. In my clauses{articles} I shall not waste time on any systems nakrutki counters, an exchange of visitors and an other similar chicken-feed. Promotion in my case first of all means optimization of pages of a site under search robots + various advice{councils} and subtleties from practice. I hope, to you it will be interesting also to somebody my advice{councils} even will help with increase in the target audience visiting{attending} your site.


Let's consider, that you well own programming on HTML and know, for what various tags and where them to push are necessary, therefore I shall not concentrate attention on the technical party . Speaking about heading, I have in a kind the maintenance{contents} of page from a tag "HEAD" up to a tag "/HEAD". I shall remind, that the structure of standard page is approximately following:



"HTML" "HEAD" "TITLE" the Title of page "/TITLE"


‹ META HTTP-EQUIV = "parameter" CONTENT = "value" ›


‹ META NAME = "parameter" CONTENT = "value" ›


"/HEAD" "BODY"


Contents of page


"/BODY" "/HTML"


Just about the top part of page also there will be a speech in this clause{article}, i.e. is detailed about tegakh TITLE and META.



TITLE


I hope, you have already guessed, that TITLE is a title of page. The user sees it  in the top part of a window of a browser. Tag TITLE first of all has great value by optimization of page under search machines. All without exception search robots process value TITLE and according to his  maintenance{contents} form the list of keywords and phrases of page. Thus, the title should reflect the real maintenance{contents} of page or a site. However at filling this parameter many make the following mistakes:

Start to list{transfer} the list of keywords. Modern search robots became much sharper, than earlier and in most cases they manage to distinguish, that in title is written rubbish, instead of the precise and distinct maintenance{contents} of page. It can lead to to that poiskovik will ignore a title at indexation;

Drive in the text in size with the first that Charles Marksa's of "Capital". The matter is that search robots seriously concern to contents of tag TITLE, but usually index the first 25-50 symbols. Thus, the stayed literary trash only vainly increases volume of page and time of loading;

Overload a title specsimvolami (points, inverted commas, a dash and so forth with signs). Specsimvoly in TITLE are not indexed by search robots so their use is better for reducing to a minimum, or in general to try to do without them;

Write maintenance{contents} TITLE capital (header) letters. Many poiskoviki do not like it. So it is better to not anger them in vain and to write normally. That you will write a title capital, you become more appreciable for poiskovika not!

In general, I recommend before filling of tag TITLE as it is necessary to think, about what your site and to express his  subjects in 2-3 weighty words as a word-combination.



META


About tag META we will have conversation serious. First of all it is necessary to understand, that META-tags are the important component in page and their correct use can both to lift popularity of page, and to render return influence.

META-tags share on two groups: pages supervising display by a browser and serving as the valuable information for search machines. The first group of tags is entered as follows:



‹ META HTTP-EQUIV = "parameter" CONTENT = "value" ›


I shall not concentrate attention on this kind of a META-tag, since my problem  - to tell how to make page accessible, instead of how to make, so that she was correctly displayed by a browser. But that you have understood, for what these META-tags are necessary, I shall result some examples of their use:



‹ META HTTP-EQUIV = "content-type" CONTENT = " text/html; charset=windows-1251 " ›


Specifies, in what coding the page (in this case should be deduced{removed}: windows-1251). Also values (in field CHARSET) are possible{probable}: koi8-r, iso-8859-5, iso-8859-1, etc.



‹ META HTTP-EQUIV = "content-script-type" CONTENT = "text/javascript" ›


Specifies types of the variables contained on page (in this case: the text and JavaScript ™). Possible{probable} values: text, javascript, php, etc.



‹ META HTTP-EQUIV = "pragma" CONTENT = "no-cache" ›

Or

‹ META HTTP-EQUIV = "no-cache"

Or

‹ META HTTP-EQUIV = "cache-control" CONTENT = "no-cache" ›

Or

‹ META HTTP-EQUIV = "expires" CONTENT = " wed, 2 mar 1996 00:00:05 GMT " ›


Interdiction on caching by a browser of page. The tag is actual in the event that contents of page often vary. In this case the browser will be at each reference{manipulation} to page anew her  kehshirovat`.



‹ META HTTP-EQUIV = "content-language" CONTENT = " en, ru " ›


Informs a browser language on which the page (in this case is written: English and Russian). It is possible to specify and one language (for example, only "ru") or a little through a point. At once I shall say, that this tag is actual only for very old browsers, and new on him  attention do not pay, so it is better than it  to avoid.



‹ META HTTP-EQUIV = "refresh" CONTENT = " 5; URL=http: // yandex.ru/index.html " ›


Compulsorily carries out transition to the specified page through the certain quantity{amount} of seconds (in this case: transition to page "http://yandex.ru/index.html" in 5 seconds).


Exists about ten META HTTP-EQUIV of tags, but, in my opinion, they confused and do not render essential influence on reflection of page. Or are intended for out-of-date versions of browsers which practically are not used any more. I advise to not be fond of such tags and to pay attention first of all to the first example which is giving out the coding of the document - he is obligatory; the others use only necessarily! toroj the type of META-tags is entered as follows:



‹ META NAME = "parameter" CONTENT = "value" ›


These META-tags do not influence in any way display of pages of a site, but play the important role in granting the information to search robots and specify algorithm of indexing. In general, serve something like the passport for page. As it is known, that the basic share of the traffic is generated by search robots, it is necessary to consider with full sur`ezom filling values of these tags. Below I bring examples of values with necessary comments:



‹ META NAME = "description" CONTENT = "..." ›


You should enter the brief description of the document into field CONTENT. At all do not scribble the treatise long during a life and do not list{transfer} keywords! The spelling of the small offer long up to 200-250 symbols in which is narrated will be correct about what your site (page) and that on him it is possible to find. Avoid a plenty specsimvolov, words from capital letters and nonsense (for example, " It is a mad site! All here! "). The maintenance{contents} of parameter DESCRIPTION often is reflected as a result of search and brought in a database poiskovika. So the more precisely and lakonichnej the description of a site, the will be formulated better!



‹ META NAME = "keywords" CONTENT = "..." ›


You should bring to field CONTENT through a point (!) in the list of keywords and phrases according to which the search the search robot will be under construction. Only it is not necessary to bring dictionary Ozhegova and-or Dalja! First, poiskoviki usually process only the first n-cat` symbols in line CONTENT (on the average up to 500). Second, keywords and phrases should reflect real contents of page. Otherwise the search robot cuts unnecessary and a part of contents KEYWORDS is simple zazrja litters page. There is an ordinary opinion, that now search robots practically do not give attention to option value KEYWORDS. Really, during evolution poiskoviki began to pay less attention to keywords because many bad people were engaged in a banal search spam and brought in KEYWORDS at all that has been reflected on page. Nevertheless, the urgency of this META-tag up to the end is not lost and to fill in it  all the same it is recommended.



‹ META NAME = "document-state" CONTENT = "static/dynamic" ›


Informs the search robot frequency obnovlenij contents. According to it the page can be static (static), i.e. updating occur from time to time, seldom or do not occur at all; or dynamical (dynamic) which is updated often (for example, the page of news). In field CONTENT it is necessary to write down only one of values ("static" or "dynamic"), according to character of page. Some "clever men" try to cheat the search robot, declaring static page dynamical, in hope that its{her} rating will be raised. Poiskovik very quickly calculates such swindlers, tracing date of change of a file of page and character of changes of its{her} contents. In a result it is possible to go to a ban-sheet from which the way will be not so it is simple. That it has not taken place, try either to write the truth, or to not use at all this parameter. Without him  poiskovik too in a status to understand, what this page and as often her  pereindeksirovat`.



‹ META NAME = "revisit-after" CONTENT = "..." ›


The tag is almost similar previous and specifies, through what time interval poiskovik should pereindeksirovat` page. Besides it is better to not tease the search robot and to specify real value. If at you not a news line with daily, weekly or other regular updating it is better to not use this parameter at all. If all the same there was such necessity values of field CONTENT can be such: day (an example: 1 day), days (an example: 7 days), week (an example: 1 week), weeks (an example: 2 weeks), year (an example: 1 year), years (an example: 5 years). To express a time interval it is possible various values, but only one of them. For example, 1 year can be written down as " 1 year " or " 365 days ", or " 52 weeks ". But the use at once several values is invalid. For example, " 1 year 2 weeks 3 days "!



‹ META NAME = "robots" CONTENT = "..." ›


It is very important tag which specifies poiskoviku how it is necessary for him to index page. Possible{probable} values of field CONTENT:



index, follow - to index page and all links on her

index, nofollow - to index page, to not index the link

noindex, follow - to not index page, but only link

noindex, nofollow - to not index page, to not index the link

all - it is equivalent index, follow

none - it is equivalent noindex, nofollow


If to you all the same as the search robot will index contents of page this parameter since in this case poiskovik will define{determine} the optimal and effective way of indexation is better to not use in general. If suddenly it is necessary for you to forbid a part of contents of page on indexation, and another to leave, it is necessary to place the block forbidden for search robots in a tag "NOINDEX..." "/NOINDEX". In this case a META-tag with parameter "robots" to use it is not necessary.

There is still a whole heap of META-tags of the similar kind, comprehensively describing contents of page, including the data on its{her} founder, the generator, classification, etc. Making a start from practical experience I can notice, that anything, except for, contaminations of page and increase in its{her} volume, they as a matter of fact do not do{make}. So it is better to be limited to use of the above-stated tags which are basic.


So, we have considered with you the basic requirements to a spelling of heading of pages so that they were indexed successfully and correctly with search robots. If all of you will make correctly already after a while (from 2 weeks about one month) you will notice, that search robots began to see you better and visitors began to find you better. Fixing the aforesaid, I want to give an example, as the page can look ideal for poiskovika:



"HTML" "HEAD" "TITLE" the Directory on META-tags "/TITLE"


‹ META HTTP-EQUIV = "content-type" CONTENT = " text/html; charset=windows-1251 " ›


‹ META NAME = "description" CONTENT = " Clause{Article} about how correctly to fill in heading of Internet - page " ›

‹ META NAME = "keywords" CONTENT = " html, meta, the directory, a tag, heading, title " ›

‹ META NAME = "revisit-after" CONTENT = " 7 days " ›

‹ META NAME = "robots" CONTENT = "all" ›


"/HEAD" "BODY"


You have already familiarized with contents of page;)



"/BODY" "/HTML"