How to prohibit indexation of the website

How to prohibit indexation of the website

The pages indexed by searchers provide stable attendance of a resource. But if at present your website is in development, then appearance of search robots on pages of a resource is extremely not desirable as information on the blank sections which got to search can deprive your resource of target visitors for long time. For a while to protect the website from scanning by robots, it is necessary to prohibit it to indexation. For this purpose it is enough to make several simple changes in the code of a resource.

It is required to you

  • - have at least initial knowledge of HTML
  • - the nobility how to open a root folder of the directory of files of your website

Instruction

1. At first check whether there is on your website a robots.txt file which is responsible for the correct indexation of a resource. For this purpose pass to the address http: ⁄ ⁄ www · site · with ru ⁄ robots.txt ⁄, having replaced http: ⁄ ⁄ www · site · ru to the address of your website.

2. If at upon transition the record of a view ""by User-agent is opened by this clicking the link: * Disallow..."", it means that the necessary file is present at your website. In this case come into a root folder where all files of your website are stored, and find the robots.txt file.

3. If the management system of your website allows to edit this file directly from a root folder, then open for robots.txt through supporting service. At impossibility of performing any changes with the file via the interface of a system save the document on the computer, and then open it through the Notepad program.

4. Change the first two lines of the document to such:
""User-agent: *
Disallow: /"".
Inscription ""User-agent: *"" shows that the rules following record concern all search robots, and ""Disallow: /"" means the ban of indexation of all website. After correction of contents save the file.

5. In case of absence on the website of the robots.txt file create the new document in the Notepad program. Enter in it the same two records, having each of them on a new line, and save the file by means of the Fayl-Sokhranit as... command under the name of robots.txt.

6. Fill in the created document in a root folder of your website and check its functioning, having again followed the link http: ⁄ ⁄ www · site · ru ⁄ robots.txt ⁄, where instead of ""http: ⁄ ⁄ www · site · ru"" enter the address of your resource.

7. Another sposobm prohibitions of indexation is the insert of special metatags in the HTML-code of pages of the website. To use this method, find in the code of one of pages of the website of an inscription "" <html> <head>"" and place right after"" <head>"" a line"" <meta name= "" robots"" content= "" noindex, nofollow"">"".

8. If yours of the website is written in the HTML language, then such code needs to be inserted on each page. For a resource for PHP it is enough to place such entry in the header.php file.

Author: «MirrorInfo» Dream Team


Print