There is a php file ( site.ru/no.php ) on the site that displays data that you do not need to index.

The file works like this: no.php?id=100 , that is, displays a certain info through GET .

Question: If Disallow: /no.php in the robots.txt, will the search robots not accurately index the contents even with a get request?

    2 answers 2

    Disallow: /no.php blocks access to pages starting with /no.php , i.e. will not be

    Another example:

     Disallow: /page?*param= # блокирует доступ к страницам page с GET параметром param 

      Robots.txt robots.txt :

       User-agent: * Disallow: /no.php Disallow: /no.php*? 

      The result of checking Yandex.Webmaster :

      /no.php запрещен правилом /no.php
      /no.php?id=1 запрещен правилом /no.php*?*