This page redirects to an external site: https://developer.wordpress.org/reference/functions/do_robots/
Display the robots.txt file content.
The echoed content should be with usage of the permalinks or for creating the robots.txt file.
<?php do_robots() ?>
Accepts no parameters.
This function does not return any value.
Since: 2.1.0
do_robots() is located in wp-includes/functions.php.