There is a set of references mysite.ru/, mysite.ru/?p=1, mysite.ru/?p=2, etc., the parameter p is not taken into account by the script. It is necessary to explain to the search engine that this is the same page with a common citation index. How best to do this? If I'm not mistaken, stupid Disallow will simply cut off all links with? P =, losing their citation index.

    1 answer 1

    Specify the page’s canonical address in the page header. For example, as done on this site for this question:

    <link rel="canonical" href="http://ru.stackoverflow.com/questions/636460/robots-txt-%D0%BE%D0%B1%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%BA%D0%B0-%D0%BD%D0%B5%D1%81%D0%BA%D0%BE%D0%BB%D1%8C%D0%BA%D0%B8%D1%82%D1%85-%D1%81%D1%81%D1%8B%D0%BB%D0%BE%D0%BA-%D0%BA%D0%B0%D0%BA-%D0%BE%D0%B4%D0%BD%D0%BE%D0%B9" /> 

    Confirmation of accounting tag Yandex Help Google